'${vim_account_type}' != 'openstack' Not applicable for ${vim_account_type} VIM Conditionally skips rest of the current test, setup, or teardown with PASS status. ${rand} 6 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 594265 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_594265 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_594265 ${created_vim_account_id} ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} Create a VIM Target in OSM. The optional parameters (such as 'config' or 'sdn_controller') are given to this function in name=value format. These parameters will be appended to the 'osm vim-create' command with the next syntax: --param_name=param_value Return the ID of the created VIM Target. Example of execution: ${vim_account_id}= Create VIM Target ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config='{...}' ${osm_vim_create_command} osm vim-create --name ${vim_name} --user ${vim_user} --password ${vim_password} --auth_url ${vim_auth_url} --tenant ${vim_tenant} --account_type ${vim_account_type} Returns the given values which can then be assigned to a variables. ${osm_vim_create_command} = osm vim-create --name basic01_594265 --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack ${param} @{optional_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${osm_vim_create_command} ${osm_vim_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${rc} ${stdout} ${osm_vim_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm vim-create --name basic01_594265 --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack 2>&1'. ${rc} = 0 ${stdout} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${stdout} Logs the given message with the given level. 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_vim_account_id} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${vim_name} ${vim_opstate_max_wait_time} ${vim_opstate_pol_time} Check If VIM Target Is Enabled ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $6}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " basic01_594265 " | awk '{print $6}' 2>&1'. ${rc} = 0 ${stdout} = ENABLED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ENABLED msg=VIM Target '${vim_name}' is not enabled values=false Fails if objects are unequal after converting them to strings. ${stdout} ${vim_name} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${vim_account_id} ${vim_name} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " basic01_594265 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${EMPTY} msg=VIM Target '${vim_name}' not found values=false Fails if objects are equal after converting them to strings. ${vim_account_id} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${vim_status_max_wait_time} ${vim_status_pol_time} Check If VIM Target Has Metric ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} Runs the specified keyword and retries if it fails. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${param_name} = vim_account_id ${param_value} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="3167a4c6-1464-4d4d-b845-31d160b1a7e5", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:37:37 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_vim_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} <2 msg=VIM Target '${vim_account_id}' has no metric Fails if the given condition is not true. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${param_name} = vim_account_id ${param_value} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="3167a4c6-1464-4d4d-b845-31d160b1a7e5", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:37:52 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_vim_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} <2 msg=VIM Target '${vim_account_id}' has no metric Fails if the given condition is not true. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${param_name} = vim_account_id ${param_value} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="3167a4c6-1464-4d4d-b845-31d160b1a7e5", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:38:07 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_vim_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} <2 msg=VIM Target '${vim_account_id}' has no metric Fails if the given condition is not true. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${param_name} = vim_account_id ${param_value} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="3167a4c6-1464-4d4d-b845-31d160b1a7e5", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%223167a4c6-1464-4d4d-b845-31d160b1a7e5%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:38:22 GMT', 'Content-Length': '234'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vim_account_id":"3167a4c6-1464-4d4d-b845-31d160b1a7e5"},"value":[1711589902.322,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c8... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c86b4c50', 'vim_account_id': '3167a4c6-1464-4d4d-b845-31d160b1a7e5'... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric} = 1 ${metric} <2 msg=VIM Target '${vim_account_id}' has no metric Fails if the given condition is not true. ${stdout} = None Create a VIM Target only with the mandatory parameters. Checks the status of the VIM in Prometheus after it creation. basic_01 cluster_main daily regression '${vim_account_type}' != 'openstack' Not applicable for ${vim_account_type} VIM Conditionally skips rest of the current test, setup, or teardown with PASS status. ${vim_account_id} ${vim_name} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " basic01_594265 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${EMPTY} msg=VIM Target '${vim_name}' not found values=false Fails if objects are equal after converting them to strings. ${vim_account_id} = 3167a4c6-1464-4d4d-b845-31d160b1a7e5 ${vim_account_id} ${created_vim_account_id} Fails if objects are unequal after converting them to strings. ${vim_name} ${rc} ${stdout} Run and Return RC and Output osm vim-delete ${vim_name} Runs the keyword and continues execution even if a failure occurs. osm vim-delete ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-delete basic01_594265 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${delete_max_wait_time} ${delete_pol_time} Check for VIM Target ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | awk '{print $2}' | grep ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | awk '{print $2}' | grep basic01_594265 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${vim_name} Fails if objects are equal after converting them to strings. Delete the VIM Target created in previous test-case by its name. Checks whether the VIM Target was created or not before perform the deletion. basic_01 cleanup cluster_main daily regression ${rand} 6 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 235280 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_235280 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_235280 ${created_vim_account_id} ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config=${vim_config} Create a VIM Target in OSM. The optional parameters (such as 'config' or 'sdn_controller') are given to this function in name=value format. These parameters will be appended to the 'osm vim-create' command with the next syntax: --param_name=param_value Return the ID of the created VIM Target. Example of execution: ${vim_account_id}= Create VIM Target ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config='{...}' ${osm_vim_create_command} osm vim-create --name ${vim_name} --user ${vim_user} --password ${vim_password} --auth_url ${vim_auth_url} --tenant ${vim_tenant} --account_type ${vim_account_type} Returns the given values which can then be assigned to a variables. ${osm_vim_create_command} = osm vim-create --name basic01_235280 --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack ${param} @{optional_parameters} config='{project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = config='{project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${param_name} = config ${param_value} = '{project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${osm_vim_create_command} ${osm_vim_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_vim_create_command} = osm vim-create --name basic01_235280 --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack --config='{project_domain_n... ${rc} ${stdout} ${osm_vim_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm vim-create --name basic01_235280 --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack --config='{project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' 2>&1'. ${rc} = 0 ${stdout} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${stdout} Logs the given message with the given level. 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_vim_account_id} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${vim_name} ${vim_opstate_max_wait_time} ${vim_opstate_pol_time} Check If VIM Target Is Enabled ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $6}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " basic01_235280 " | awk '{print $6}' 2>&1'. ${rc} = 0 ${stdout} = ENABLED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ENABLED msg=VIM Target '${vim_name}' is not enabled values=false Fails if objects are unequal after converting them to strings. ${vim_name} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${vim_account_id} ${vim_name} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " basic01_235280 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${EMPTY} msg=VIM Target '${vim_name}' not found values=false Fails if objects are equal after converting them to strings. ${vim_account_id} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${vim_status_max_wait_time} ${vim_status_pol_time} Check If VIM Target Is Available ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} Runs the specified keyword and retries if it fails. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${param_name} = vim_account_id ${param_value} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="1545aa26-a9b3-4cda-a670-6a12f7d878a5", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221545aa26-a9b3-4cda-a670-6a12f7d878a5%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221545aa26-a9b3-4cda-a670-6a12f7d878a5%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221545aa26-a9b3-4cda-a670-6a12f7d878a5%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:38:30 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_vim_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} 1 msg=VIM Target '${vim_account_id}' is not active values=false Fails if objects are unequal after converting them to integers. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${param_name} = vim_account_id ${param_value} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="1545aa26-a9b3-4cda-a670-6a12f7d878a5", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221545aa26-a9b3-4cda-a670-6a12f7d878a5%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221545aa26-a9b3-4cda-a670-6a12f7d878a5%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%221545aa26-a9b3-4cda-a670-6a12f7d878a5%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:38:46 GMT', 'Content-Length': '233'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vim_account_id":"1545aa26-a9b3-4cda-a670-6a12f7d878a5"},"value":[1711589926.026,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c8... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c86b4c50', 'vim_account_id': '1545aa26-a9b3-4cda-a670-6a12f7d878a5'... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric} = 1 ${metric} 1 msg=VIM Target '${vim_account_id}' is not active values=false Fails if objects are unequal after converting them to integers. Create a VIM Target using the extra parameter 'config'. Checks the status of the VIM in Prometheus after it creation. basic_01 cluster_main daily regression ${vim_account_id} ${vim_name} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " basic01_235280 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${EMPTY} msg=VIM Target '${vim_name}' not found values=false Fails if objects are equal after converting them to strings. ${vim_account_id} = 1545aa26-a9b3-4cda-a670-6a12f7d878a5 ${vim_account_id} ${created_vim_account_id} Fails if objects are unequal after converting them to strings. ${vim_account_id} ${rc} ${stdout} Run and Return RC and Output osm vim-delete ${vim_name} Runs the keyword and continues execution even if a failure occurs. osm vim-delete ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-delete 1545aa26-a9b3-4cda-a670-6a12f7d878a5 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${delete_max_wait_time} ${delete_pol_time} Check for VIM Target ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | awk '{print $2}' | grep ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | awk '{print $2}' | grep 1545aa26-a9b3-4cda-a670-6a12f7d878a5 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${vim_name} Fails if objects are equal after converting them to strings. Delete the VIM Target created in previous test-case by its ID. Checks whether the VIM Target was created or not before perform the deletion. basic_01 cleanup cluster_main daily regression [BASIC-01] CRUD operations on VIM targets. All tests will be performed over an Openstack VIM, and the credentials will be loaded from clouds.yaml file. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/ubuntu_cloudinit_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ubuntu_cloudinit_vnf Validation OK List of charms in the descriptor: set() Adding File: ubuntu_cloudinit_vnf Package created: /robot-systest/osm-packages... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ubuntu_cloudinit_vnf Validation OK List of charms in the descriptor: set() Adding File: ubuntu_cloudinit_vnf Package created: /robot-systest/osm-packages/ubuntu_cloudinit_vnf.tar.gz Uploading package /robot-systest/osm-packages/ubuntu_cloudinit_vnf.tar.gz 8ac6291f-a224-4d59-ae2e-ac6319568b8c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 8ac6291f-a224-4d59-ae2e-ac6319568b8c basic_05 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/ubuntu_cloudinit_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ubuntu_cloudinit_ns Validation OK List of charms in the descriptor: set() Adding File: ubuntu_cloudinit_ns Package created: /robot-systest/osm-packages/u... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ubuntu_cloudinit_ns Validation OK List of charms in the descriptor: set() Adding File: ubuntu_cloudinit_ns Package created: /robot-systest/osm-packages/ubuntu_cloudinit_ns.tar.gz ca37c4f1-dc0b-4a0f-b52b-634c5d978998 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = ca37c4f1-dc0b-4a0f-b52b-634c5d978998 basic_05 cluster_main daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${EMPTY} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ], additionalParamsForVnf: [ { member-vnf-index: "vnf", additionalParams: { password: "newpassword" } } ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_05_instantiation_params_cloud_init --nsd_name ubuntu_cloudinit-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ], additionalParamsForVnf: [ { member-vnf-index: "vnf", additionalParams: { password: "newpassword" } } ] }' 2>&1'. ${rc} = 0 ${stdout} = 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c ${stdout} Logs the given message with the given level. 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c ${ns_id} Logs the given message with the given level. 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+---------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+---------------------+ | c1cbf404-b4c6-4e35-be8f-d47e97ec89dd | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.29 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 68160965-d71f-41fb-b467-2bbb241b9d5a | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.24 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instanc... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_05_instantiation_params_cloud_init | 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c | 2024-03-28T01:38:54 | BUILDING | INSTANTIATING (870373d3-a4e9-4c41-9e68-5a8471ed287b) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_05_instantiation_params_cloud_init | 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c | 2024-03-28T01:38:54 | BUILDING | INSTANTIATING (870373d3-a4e9-4c41-9e68-5a8471ed287b) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+---------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ | 34373cbc-2f13-44c6-8a59-40eac76c36db | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.255 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c1cbf404-b4c6-4e35-be8f-d47e97ec89dd | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.29 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 68160965-d71f-41fb-b467-2bbb241b9d5a | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.24 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instanc... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_05_instantiation_params_cloud_init | 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c | 2024-03-28T01:38:54 | BUILDING | INSTANTIATING (870373d3-a4e9-4c41-9e68-5a8471ed287b) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_05_instantiation_params_cloud_init | 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c | 2024-03-28T01:38:54 | BUILDING | INSTANTIATING (870373d3-a4e9-4c41-9e68-5a8471ed287b) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+---------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ | 34373cbc-2f13-44c6-8a59-40eac76c36db | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.255 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c1cbf404-b4c6-4e35-be8f-d47e97ec89dd | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.29 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 68160965-d71f-41fb-b467-2bbb241b9d5a | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.24 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_05_instantiation_params_cloud_init | 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c | 2024-03-28T01:38:54 | READY | IDLE (None) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+---------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ | 34373cbc-2f13-44c6-8a59-40eac76c36db | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.255 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c1cbf404-b4c6-4e35-be8f-d47e97ec89dd | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.29 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 68160965-d71f-41fb-b467-2bbb241b9d5a | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.24 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_05_instantiation_params_cloud_init" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id... ${stdout} Logs the given message with the given level. +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_05_instantiation_params_cloud_init | 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c | 2024-03-28T01:38:54 | READY | IDLE (None) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c Instantiates the NS using the instantiation parameter 'additionalParamsForVnf' to change the password of the default user. basic_05 cluster_main daily regression ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf | grep 6dbf352f-45f5-423d-9d6a-a1a2e9e3114c | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.255 ${stdout} Logs the given message with the given level. 172.21.249.255 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.255 ${ip_addr} Logs the given message with the given level. 172.21.249.255 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.255 basic_05 cluster_main daily regression ${vnf_ip_addr} msg=IP address of the management VNF is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${new_password} ${EMPTY} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.255:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:40:37 UTC 2024 System load: 0.56 Processes: 97 Usage of /: 11.5% of 9.52GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.249.255 Swap usage: 0% 0 updates can be applied immediately. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-05-instant-vnf-ubuntu-cloudinit-vnf-vm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. Test SSH access with the new password configured via cloud-init. basic_05 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_05_instantiation_params_cloud_init 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 34373cbc-2f13-44c6-8a59-40eac76c36db | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.255 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_05_instantiation_params_cloud_init 2>&1'. ${rc} = 0 ${stdout} = basic_05_instantiation_params_cloud_init ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_05_instantiation_params_cloud_init == basic_05_instantiation_params_cloud_init ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+------------------------+-------------+-------------------------+ | 7dcdda32-3309-4892-a9f2-4268f0aaa314 | fail_01_8054-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_05_instantiation_params_cloud_init 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_05 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ubuntu_cloudinit-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ubuntu_cloudinit-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_05 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ubuntu_cloudinit-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ubuntu_cloudinit-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_05 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-05] Instantiation parameters in cloud-init. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-syst... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz 68290712-b5e9-4de3-8630-def5b70c5842 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 68290712-b5e9-4de3-8630-def5b70c5842 basic_06 cluster_ee_config daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: ha_proxy_charm_ns Package created: /robot-systest/osm... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: ha_proxy_charm_ns Package created: /robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns.tar.gz 24024c34-dc37-452c-bf27-ac8734ccd79e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 24024c34-dc37-452c-bf27-ac8734ccd79e basic_06 cluster_ee_config daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_06_charm_test --nsd_name ha_proxy_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 08cd7602-866b-4760-bab2-d3d5f3405b7f ${stdout} Logs the given message with the given level. 08cd7602-866b-4760-bab2-d3d5f3405b7f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 08cd7602-866b-4760-bab2-d3d5f3405b7f ${ns_id} Logs the given message with the given level. 08cd7602-866b-4760-bab2-d3d5f3405b7f ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 7dcdda32-3309-4892-a9f2-4268f0aaa314 | fail_01_8054-vnf-mgmtVM-0 | ACTIVE | fail_01_8054-internal=192.168.15.186; osm-ext=172.21.249.242 | ubuntu20.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 2ac1451e-1a38-4d59-99f8-f5b874b38c86 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.92; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | edbca319-9316-4c72-9317-5a6b29bd9d64 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.123; osm-ext=172.21.249.200 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | eafd7828-3c2a-436e-a8eb-26cbcf066fe6 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 2ac1451e-1a38-4d59-99f8-f5b874b38c86 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.92; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | edbca319-9316-4c72-9317-5a6b29bd9d64 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.123; osm-ext=172.21.249.200 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | eafd7828-3c2a-436e-a8eb-26cbcf066fe6 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 2ac1451e-1a38-4d59-99f8-f5b874b38c86 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.92; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | edbca319-9316-4c72-9317-5a6b29bd9d64 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.123; osm-ext=172.21.249.200 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | BUILDING | INSTANTIATING (7218de7c-b2be-47c4-8e67-3827166c85f7) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 2ac1451e-1a38-4d59-99f8-f5b874b38c86 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.92; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | edbca319-9316-4c72-9317-5a6b29bd9d64 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.123; osm-ext=172.21.249.200 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | READY | IDLE (None) | N/A | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 2ac1451e-1a38-4d59-99f8-f5b874b38c86 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.92; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | edbca319-9316-4c72-9317-5a6b29bd9d64 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.123; osm-ext=172.21.249.200 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_06_charm_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_06_charm_test | 08cd7602-866b-4760-bab2-d3d5f3405b7f | 2024-03-28T01:41:13 | READY | IDLE (None) | N/A | +---------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 08cd7602-866b-4760-bab2-d3d5f3405b7f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 08cd7602-866b-4760-bab2-d3d5f3405b7f basic_06 cluster_ee_config daily regression ${ip_addr_1} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 08cd7602-866b-4760-bab2-d3d5f3405b7f | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.200 ${stdout} Logs the given message with the given level. 172.21.249.200 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_1} = 172.21.249.200 ${ip_addr_1} Logs the given message with the given level. 172.21.249.200 ${vnf_1_ip_addr} ${ip_addr_1} Makes a variable available everywhere within the scope of the current suite. ${vnf_1_ip_addr} = 172.21.249.200 ${ip_addr_2} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep 08cd7602-866b-4760-bab2-d3d5f3405b7f | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.156 ${stdout} Logs the given message with the given level. 172.21.248.156 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.248.156 ${ip_addr_2} Logs the given message with the given level. 172.21.248.156 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.248.156 basic_06 cluster_ee_config daily regression ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.200:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:44:03 UTC 2024 System load: 0.04 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.200 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.156:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:44:05 UTC 2024 System load: 0.16 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.156 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_06 cluster_ee_config daily regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.200:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:44:06 UTC 2024 System load: 0.04 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.200 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 01:44:03 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.156:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:44:08 UTC 2024 System load: 0.23 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.156 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 01:44:05 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. basic_06 cluster_ee_config daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id_1} ${ns_name} ${action_name} ${vnf_member_index_1} filename=${day_2_file_name_1} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_06_charm_test ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_06_charm_test 2>&1'. ${rc} = 0 ${stdout} = f3e10f02-1277-419a-8f5e-f04c96135bb3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f3e10f02-1277-419a-8f5e-f04c96135bb3 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f3e10f02-1277-419a-8f5e-f04c96135bb3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f3e10f02-1277-419a-8f5e-f04c96135bb3 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f3e10f02-1277-419a-8f5e-f04c96135bb3 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = f3e10f02-1277-419a-8f5e-f04c96135bb3 ${ns_op_id_2} ${ns_name} ${action_name} ${vnf_member_index_2} filename=${day_2_file_name_2} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch2 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch2 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch2 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch2", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' basic_06_charm_test ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' basic_06_charm_test 2>&1'. ${rc} = 0 ${stdout} = eb43219e-2e92-4365-a277-32978ceb24f8 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eb43219e-2e92-4365-a277-32978ceb24f8 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eb43219e-2e92-4365-a277-32978ceb24f8 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eb43219e-2e92-4365-a277-32978ceb24f8 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eb43219e-2e92-4365-a277-32978ceb24f8 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = eb43219e-2e92-4365-a277-32978ceb24f8 Performs one Day 2 operation per VNF that creates a new file. basic_06 cluster_ee_config daily regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.200:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:44:50 UTC 2024 System load: 0.06 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.200 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 01:44:07 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch1 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.156:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:44:52 UTC 2024 System load: 0.12 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.156 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 01:44:09 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-06-charm-t-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. basic_06 cluster_ee_config daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_06_charm_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 212c6c01-cc9d-4878-a225-2a5ca6a291b1 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.211.21; hfcloudinit-internal=192.168.117.198 | ubuntu20.04 | simple_requires-1-1-flv | | 79dd2968-9e3a-420e-bd1e-fe4767db9c44 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.117.109; osm-ext=172.21.249.136 | ubuntu20.04 | simple_requires-1-1-flv | | 589806c0-4039-482a-9b79-0cb283c84c4f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.211.204; hfcloudinit-internal=192.168.41.220 | ubuntu20.04 | simple_requires-1-1-flv | | 6f20c715-7f6a-4042-862c-19240154723f | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.41.38; osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 2ac1451e-1a38-4d59-99f8-f5b874b38c86 | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.92; osm-ext=172.21.248.156 | ubuntu18.04 | simple_requires-1-1-flv | | edbca319-9316-4c72-9317-5a6b29bd9d64 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.200.123; osm-ext=172.21.249.200 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_06_charm_test 2>&1'. ${rc} = 0 ${stdout} = basic_06_charm_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_06_charm_test == basic_06_charm_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 212c6c01-cc9d-4878-a225-2a5ca6a291b1 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.211.21; hfcloudinit-internal=192.168.117.198 | ubuntu20.04 | simple_requires-1-1-flv | | 79dd2968-9e3a-420e-bd1e-fe4767db9c44 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.117.109; osm-ext=172.21.249.136 | ubuntu20.04 | simple_requires-1-1-flv | | 589806c0-4039-482a-9b79-0cb283c84c4f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.211.204; hfcloudinit-internal=192.168.41.220 | ubuntu20.04 | simple_requires-1-1-flv | | 6f20c715-7f6a-4042-862c-19240154723f | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.41.38; osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_06_charm_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_06 cleanup cluster_ee_config daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ha_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ha_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_06 cleanup cluster_ee_config daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ha_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ha_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_06 cleanup cluster_ee_config daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-06] VNF with Charm. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: nopasswd_proxy_charm_vnf Package created:... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: nopasswd_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_vnf.tar.gz e5677a62-88c5-48f4-a3ca-9ee75c387636 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = e5677a62-88c5-48f4-a3ca-9ee75c387636 basic_07 cluster_ee_config daily prepare regression sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: nopasswd_proxy_charm_ns Package created: /robot... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: nopasswd_proxy_charm_ns Package created: /robot-systest/osm-packages/charm-packages/nopasswd_proxy_charm_ns.tar.gz 3e49de35-95d2-4fc4-b7d1-df07110b088c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 3e49de35-95d2-4fc4-b7d1-df07110b088c basic_07 cluster_ee_config daily prepare regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${EMPTY} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_07_secure_key_management --nsd_name nopasswd_proxy_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = 1f91af80-4a58-4461-98da-73b499ab0cde ${stdout} Logs the given message with the given level. 1f91af80-4a58-4461-98da-73b499ab0cde ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 1f91af80-4a58-4461-98da-73b499ab0cde ${ns_id} Logs the given message with the given level. 1f91af80-4a58-4461-98da-73b499ab0cde ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 212c6c01-cc9d-4878-a225-2a5ca6a291b1 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.211.21; hfcloudinit-internal=192.168.117.198 | ubuntu20.04 | simple_requires-1-1-flv | | 79dd2968-9e3a-420e-bd1e-fe4767db9c44 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.117.109; osm-ext=172.21.249.136 | ubuntu20.04 | simple_requires-1-1-flv | | 589806c0-4039-482a-9b79-0cb283c84c4f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.211.204; hfcloudinit-internal=192.168.41.220 | ubuntu20.04 | simple_requires-1-1-flv | | 6f20c715-7f6a-4042-862c-19240154723f | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.41.38; osm-ext=172.21.249.53 | ubuntu20.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9608aaee-ccb7-4559-a72d-d22b4cec44b9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.252; osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | ba1597e2-4010-439f-90be-44fa1302686c | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.186; osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9608aaee-ccb7-4559-a72d-d22b4cec44b9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.252; osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | ba1597e2-4010-439f-90be-44fa1302686c | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.186; osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | fcddbe67-9611-4b9c-a424-4b26e6894693 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.136.9; hfmultivdu-internal=192.168.220.126 | ubuntu20.04 | simple_requires-1-1-flv | | 598602a5-3ce0-472c-ba20-7ab17d19bf45 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.220.245; osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | ae426f20-62fc-48fa-8948-71010db5706c | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.136.210; hfmultivdu-internal=192.168.65.205 | ubuntu20.04 | simple_requires-1-1-flv | | c7caeaf7-2d43-4099-8071-57ce04478129 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.65.93; osm-ext=172.21.248.131 | ubuntu20.04 | simple_requires-1-1-flv | | 9608aaee-ccb7-4559-a72d-d22b4cec44b9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.252; osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | ba1597e2-4010-439f-90be-44fa1302686c | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.186; osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | BUILDING | INSTANTIATING (0215ac19-0fd8-436f-a236-17eb02636ddc) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | fcddbe67-9611-4b9c-a424-4b26e6894693 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.136.9; hfmultivdu-internal=192.168.220.126 | ubuntu20.04 | simple_requires-1-1-flv | | 598602a5-3ce0-472c-ba20-7ab17d19bf45 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.220.245; osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | ae426f20-62fc-48fa-8948-71010db5706c | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.136.210; hfmultivdu-internal=192.168.65.205 | ubuntu20.04 | simple_requires-1-1-flv | | c7caeaf7-2d43-4099-8071-57ce04478129 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.65.93; osm-ext=172.21.248.131 | ubuntu20.04 | simple_requires-1-1-flv | | 9608aaee-ccb7-4559-a72d-d22b4cec44b9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.252; osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | ba1597e2-4010-439f-90be-44fa1302686c | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.186; osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | READY | IDLE (None) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | fcddbe67-9611-4b9c-a424-4b26e6894693 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.136.9; hfmultivdu-internal=192.168.220.126 | ubuntu20.04 | simple_requires-1-1-flv | | 598602a5-3ce0-472c-ba20-7ab17d19bf45 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.220.245; osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | ae426f20-62fc-48fa-8948-71010db5706c | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.136.210; hfmultivdu-internal=192.168.65.205 | ubuntu20.04 | simple_requires-1-1-flv | | c7caeaf7-2d43-4099-8071-57ce04478129 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.65.93; osm-ext=172.21.248.131 | ubuntu20.04 | simple_requires-1-1-flv | | 9608aaee-ccb7-4559-a72d-d22b4cec44b9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.252; osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | ba1597e2-4010-439f-90be-44fa1302686c | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.186; osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_07_secure_key_management" 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_07_secure_key_management | 1f91af80-4a58-4461-98da-73b499ab0cde | 2024-03-28T01:45:27 | READY | IDLE (None) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 1f91af80-4a58-4461-98da-73b499ab0cde basic_07 cluster_ee_config daily prepare regression sanity ${id} ${ns_name} ${ns_name} Verifies that the given item is not empty. Length is 30 ${rc} ${stdout} osm ns-list | grep ${ns_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep basic_07_secure_key_management | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 1f91af80-4a58-4461-98da-73b499ab0cde ${stdout} Logs the given message with the given level. 1f91af80-4a58-4461-98da-73b499ab0cde ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 36 ${id} = 1f91af80-4a58-4461-98da-73b499ab0cde ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 1f91af80-4a58-4461-98da-73b499ab0cde basic_07 cluster_ee_config daily regression sanity verify ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 1f91af80-4a58-4461-98da-73b499ab0cde | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.178 ${stdout} Logs the given message with the given level. 172.21.249.178 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.178 ${ip_addr} Logs the given message with the given level. 172.21.249.178 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.178 basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} msg=IP address of the management VNF is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.178:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:48:18 UTC 2024 System load: 0.24 Processes: 90 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.178 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-07-secure--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.178:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:48:20 UTC 2024 System load: 0.24 Processes: 90 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.178 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 01:48:18 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-07-secure--vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Nopasswd VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch and performs it without password. This test checks whether that files have been created or not. basic_07 cluster_ee_config daily regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${action_name} ${vnf_member_index} filename=${day_2_file_name} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_07_secure_key_management ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = e7c712f2-49e4-4ff2-8f44-34bbc735f718 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e7c712f2-49e4-4ff2-8f44-34bbc735f718 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id e7c712f2-49e4-4ff2-8f44-34bbc735f718 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e7c712f2-49e4-4ff2-8f44-34bbc735f718 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e7c712f2-49e4-4ff2-8f44-34bbc735f718 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = e7c712f2-49e4-4ff2-8f44-34bbc735f718 Performs one Day 2 operation that creates a new file, this action is executed without password too. basic_07 cluster_ee_config daily regression sanity verify ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${day_2_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.178:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 01:48:41 UTC 2024 System load: 0.17 Processes: 90 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.178 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 01:48:20 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-07-secure--vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch1 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the file created in the previous test via Day 2 operation exists or not. basic_07 cluster_ee_config daily regression sanity verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | fcddbe67-9611-4b9c-a424-4b26e6894693 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.220.126 | ubuntu20.04 | simple_requires-1-1-flv | | 598602a5-3ce0-472c-ba20-7ab17d19bf45 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.220.245; osm-ext=172.21.249.219 | ubuntu20.04 | simple_requires-1-1-flv | | ae426f20-62fc-48fa-8948-71010db5706c | hfmultivdu-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | c7caeaf7-2d43-4099-8071-57ce04478129 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.131 | ubuntu20.04 | simple_requires-1-1-flv | | 9608aaee-ccb7-4559-a72d-d22b4cec44b9 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.252; osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | ba1597e2-4010-439f-90be-44fa1302686c | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.94.186; osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = basic_07_secure_key_management ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07_secure_key_management == basic_07_secure_key_management ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 0 ${stdout} = basic_07_secure_key_management ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07_secure_key_management == basic_07_secure_key_management ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_07_secure_key_management 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_07 cleanup cluster_ee_config daily regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete nopasswd_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep nopasswd_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_07 cleanup cluster_ee_config daily regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete nopasswd_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep nopasswd_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_07 cleanup cluster_ee_config daily regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-07] Secure key management. ${created_vim_account_id} ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config=${vim_config} Create a VIM Target in OSM. The optional parameters (such as 'config' or 'sdn_controller') are given to this function in name=value format. These parameters will be appended to the 'osm vim-create' command with the next syntax: --param_name=param_value Return the ID of the created VIM Target. Example of execution: ${vim_account_id}= Create VIM Target ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config='{...}' ${osm_vim_create_command} osm vim-create --name ${vim_name} --user ${vim_user} --password ${vim_password} --auth_url ${vim_auth_url} --tenant ${vim_tenant} --account_type ${vim_account_type} Returns the given values which can then be assigned to a variables. ${osm_vim_create_command} = osm vim-create --name basic_08_vim_test --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack ${param} @{optional_parameters} config='{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = config='{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${param_name} = config ${param_value} = '{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' ${osm_vim_create_command} ${osm_vim_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_vim_create_command} = osm vim-create --name basic_08_vim_test --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack --config='{disable_netwo... ${rc} ${stdout} ${osm_vim_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm vim-create --name basic_08_vim_test --user osm_jenkins --password R8NtPgyodpgKjhmJoQBs --auth_url http://172.21.247.1:5000/v3 --tenant osm_jenkins --account_type openstack --config='{disable_network_port_security: true, management_network_name: osm-ext, project_domain_name: default, user_domain_name: Default, vim_network_name: osm-ext}' 2>&1'. ${rc} = 0 ${stdout} = 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${stdout} Logs the given message with the given level. 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_vim_account_id} = 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${vim_name} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${vim_account_id} ${vim_name} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " basic_08_vim_test " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${EMPTY} msg=VIM Target '${vim_name}' not found values=false Fails if objects are equal after converting them to strings. ${vim_account_id} = 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${vim_status_max_wait_time} ${vim_status_pol_time} Check If VIM Target Is Available ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} Runs the specified keyword and retries if it fails. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=344bf17d-e07d-4d9e-bd22-668eb7eb515f ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=344bf17d-e07d-4d9e-bd22-668eb7eb515f ${param_name} = vim_account_id ${param_value} = 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="344bf17d-e07d-4d9e-bd22-668eb7eb515f", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:49:30 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_vim_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} 1 msg=VIM Target '${vim_account_id}' is not active values=false Fails if objects are unequal after converting them to integers. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=344bf17d-e07d-4d9e-bd22-668eb7eb515f ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=344bf17d-e07d-4d9e-bd22-668eb7eb515f ${param_name} = vim_account_id ${param_value} = 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="344bf17d-e07d-4d9e-bd22-668eb7eb515f", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:49:45 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_vim_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} 1 msg=VIM Target '${vim_account_id}' is not active values=false Fails if objects are unequal after converting them to integers. ${vim_account_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_vim_status vim_account_id=${vim_account_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} vim_account_id=344bf17d-e07d-4d9e-bd22-668eb7eb515f ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = vim_account_id=344bf17d-e07d-4d9e-bd22-668eb7eb515f ${param_name} = vim_account_id ${param_value} = 344bf17d-e07d-4d9e-bd22-668eb7eb515f ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="344bf17d-e07d-4d9e-bd22-668eb7eb515f", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22344bf17d-e07d-4d9e-bd22-668eb7eb515f%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 01:50:00 GMT', 'Content-Length': '234'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","instance":"mon:8000","job":"mon_exporter","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vim_account_id":"344bf17d-e07d-4d9e-bd22-668eb7eb515f"},"value":[1711590600.687,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c8... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c86b4c50', 'vim_account_id': '344bf17d-e07d-4d9e-bd22-668eb7eb515f'... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric} = 1 ${metric} 1 msg=VIM Target '${vim_account_id}' is not active values=false Fails if objects are unequal after converting them to integers. basic_08 cluster_main daily regression '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_multivdu_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_multivdu_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_vnf Package created: /robot-systest/osm-packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_multivdu_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_vnf Package created: /robot-systest/osm-packages/hackfest_multivdu_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_multivdu_vnf.tar.gz d850f43c-9583-4a91-abc9-f5b814e332d0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = d850f43c-9583-4a91-abc9-f5b814e332d0 basic_08 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_multivdu_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_multivdu_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_ns Package created: /robot-systest/osm-packages... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_multivdu_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_ns Package created: /robot-systest/osm-packages/hackfest_multivdu_ns.tar.gz bc7dd298-f482-4033-acf2-0cf168a796de ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = bc7dd298-f482-4033-acf2-0cf168a796de basic_08 cluster_main daily regression ${id} ${nsd_name} ${vim_name} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_08_disable_port_security_network_level_test --nsd_name hackfest_multivdu-ns --vim_account basic_08_vim_test --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = f17dba51-251b-4a61-8bb8-bce0fac1c2c7 ${stdout} Logs the given message with the given level. f17dba51-251b-4a61-8bb8-bce0fac1c2c7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f17dba51-251b-4a61-8bb8-bce0fac1c2c7 ${ns_id} Logs the given message with the given level. f17dba51-251b-4a61-8bb8-bce0fac1c2c7 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | n... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_08_disable_port_security_network_level_test | f17dba51-251b-4a61-8bb8-bce0fac1c2c7 | 2024-03-28T01:50:05 | BUILDING | INSTANTIATING (2f019a85-4f61-4e6f-9ed9-29b51d6cc065) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_08_disable_port_security_network_level_test | f17dba51-251b-4a61-8bb8-bce0fac1c2c7 | 2024-03-28T01:50:05 | BUILDING | INSTANTIATING (2f019a85-4f61-4e6f-9ed9-29b51d6cc065) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ | d4a64c08-7344-4362-b959-cb2e7d933268 | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | ba2dd9ad-369a-4ae4-becd-43b6d4f374d0 | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 7190652f-86ce-4ec9-a4ab-92db0ab96003 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.145.244; osm-ext=172.21.248.155 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | n... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_08_disable_port_security_network_level_test | f17dba51-251b-4a61-8bb8-bce0fac1c2c7 | 2024-03-28T01:50:05 | BUILDING | INSTANTIATING (2f019a85-4f61-4e6f-9ed9-29b51d6cc065) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_08_disable_port_security_network_level_test | f17dba51-251b-4a61-8bb8-bce0fac1c2c7 | 2024-03-28T01:50:05 | BUILDING | INSTANTIATING (2f019a85-4f61-4e6f-9ed9-29b51d6cc065) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | 4e559653-86eb-4cb7-a8e9-6100b1d2a30e | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.134.129; basic_08_disable-internal=192.168.102.152 | ubuntu20.04 | simple_requires-1-1-flv | | d4a64c08-7344-4362-b959-cb2e7d933268 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.102.15; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | ba2dd9ad-369a-4ae4-becd-43b6d4f374d0 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.134.158; basic_08_disable-internal=192.168.145.169 | ubuntu20.04 | simple_requires-1-1-flv | | 7190652f-86ce-4ec9-a4ab-92db0ab96003 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.145.244; osm-ext=172.21.248.155 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_08_disable_port_security_network_level_test | f17dba51-251b-4a61-8bb8-bce0fac1c2c7 | 2024-03-28T01:50:05 | READY | IDLE (None) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | 4e559653-86eb-4cb7-a8e9-6100b1d2a30e | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.134.129; basic_08_disable-internal=192.168.102.152 | ubuntu20.04 | simple_requires-1-1-flv | | d4a64c08-7344-4362-b959-cb2e7d933268 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.102.15; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | ba2dd9ad-369a-4ae4-becd-43b6d4f374d0 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.134.158; basic_08_disable-internal=192.168.145.169 | ubuntu20.04 | simple_requires-1-1-flv | | 7190652f-86ce-4ec9-a4ab-92db0ab96003 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.145.244; osm-ext=172.21.248.155 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_08_disable_port_security_network_level_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_08_disable_port_security_network_level_test | f17dba51-251b-4a61-8bb8-bce0fac1c2c7 | 2024-03-28T01:50:05 | READY | IDLE (None) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = f17dba51-251b-4a61-8bb8-bce0fac1c2c7 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f17dba51-251b-4a61-8bb8-bce0fac1c2c7 basic_08 cluster_main daily regression ${rc} ${disabled_ports} osm ns-show ${ns_name} --literal | grep -c '${port_disabled_msg}' Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_08_disable_port_security_network_level_test --literal | grep -c 'port_security_enabled: false' 2>&1'. ${rc} = 0 ${disabled_ports} = 1 ${disabled_ports} <= 0 Fail msg=Found '${disabled_ports}' matches for '${port_disabled_msg}' Runs the given keyword with the given arguments, if ``condition`` is true. basic_08 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_08_disable_port_security_network_level_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | 4e559653-86eb-4cb7-a8e9-6100b1d2a30e | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.134.129; basic_08_disable-internal=192.168.102.152 | ubuntu20.04 | simple_requires-1-1-flv | | d4a64c08-7344-4362-b959-cb2e7d933268 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.102.15; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | ba2dd9ad-369a-4ae4-becd-43b6d4f374d0 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.134.158; basic_08_disable-internal=192.168.145.169 | ubuntu20.04 | simple_requires-1-1-flv | | 7190652f-86ce-4ec9-a4ab-92db0ab96003 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.145.244; osm-ext=172.21.248.155 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_08_disable_port_security_network_level_test 2>&1'. ${rc} = 0 ${stdout} = basic_08_disable_port_security_network_level_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_08_disable_port_security_network_level_test == basic_08_disable_port_security_network_level_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4e559653-86eb-4cb7-a8e9-6100b1d2a30e | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.102.152 | ubuntu20.04 | simple_requires-1-1-flv | | d4a64c08-7344-4362-b959-cb2e7d933268 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.102.15; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | ba2dd9ad-369a-4ae4-becd-43b6d4f374d0 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 7190652f-86ce-4ec9-a4ab-92db0ab96003 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.155 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_08_disable_port_security_network_level_test 2>&1'. ${rc} = 0 ${stdout} = basic_08_disable_port_security_network_level_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_08_disable_port_security_network_level_test == basic_08_disable_port_security_network_level_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_08_disable_port_security_network_level_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_multivdu-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_multivdu-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_multivdu-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_multivdu-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression ${vim_name} ${rc} ${stdout} Run and Return RC and Output osm vim-delete ${vim_name} Runs the keyword and continues execution even if a failure occurs. osm vim-delete ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-delete basic_08_vim_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${delete_max_wait_time} ${delete_pol_time} Check for VIM Target ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | awk '{print $2}' | grep ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | awk '{print $2}' | grep basic_08_vim_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${vim_name} Fails if objects are equal after converting them to strings. basic_08 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VIM Target ${vim_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-08] Disable port security at network level. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz ac6369c9-4ca3-4d60-b357-3abbb4abcd0a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = ac6369c9-4ca3-4d60-b357-3abbb4abcd0a basic_09 cluster_main daily prepare regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/os... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/osm-packages/hackfest_basic_metrics_ns.tar.gz c7a79c98-ed20-4e0e-b0ad-1f1943cab329 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = c7a79c98-ed20-4e0e-b0ad-1f1943cab329 basic_09 cluster_main daily prepare regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_09_manual_scaling_test --nsd_name hackfest_basic-ns-metrics --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = f28a43b6-fc39-4520-9e6c-db2f3b382993 ${stdout} Logs the given message with the given level. f28a43b6-fc39-4520-9e6c-db2f3b382993 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f28a43b6-fc39-4520-9e6c-db2f3b382993 ${ns_id} Logs the given message with the given level. f28a43b6-fc39-4520-9e6c-db2f3b382993 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_09_manual_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_09_manual_scaling_test | f28a43b6-fc39-4520-9e6c-db2f3b382993 | 2024-03-28T01:52:14 | BUILDING | INSTANTIATING (f256bff7-4b19-435c-82b1-487cfabe87e8) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_09_manual_scaling_test | f28a43b6-fc39-4520-9e6c-db2f3b382993 | 2024-03-28T01:52:14 | BUILDING | INSTANTIATING (f256bff7-4b19-435c-82b1-487cfabe87e8) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 2068af96-48e2-49df-8036-a9dd469427ae | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.208 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_09_manual_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_09_manual_scaling_test | f28a43b6-fc39-4520-9e6c-db2f3b382993 | 2024-03-28T01:52:14 | READY | IDLE (None) | N/A | +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 2068af96-48e2-49df-8036-a9dd469427ae | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.208 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_09_manual_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_09_manual_scaling_test | f28a43b6-fc39-4520-9e6c-db2f3b382993 | 2024-03-28T01:52:14 | READY | IDLE (None) | N/A | +------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = f28a43b6-fc39-4520-9e6c-db2f3b382993 basic_09 cluster_main daily prepare regression ${id} ${ns_name} ${ns_name} Verifies that the given item is not empty. Length is 28 ${rc} ${stdout} osm ns-list | grep ${ns_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep basic_09_manual_scaling_test | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = f28a43b6-fc39-4520-9e6c-db2f3b382993 ${stdout} Logs the given message with the given level. f28a43b6-fc39-4520-9e6c-db2f3b382993 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 36 ${id} = f28a43b6-fc39-4520-9e6c-db2f3b382993 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f28a43b6-fc39-4520-9e6c-db2f3b382993 basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep f28a43b6-fc39-4520-9e6c-db2f3b382993 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 7840cff0-5462-4bea-9b42-2113848cfbc9 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ 7840cff0-5462-4bea-9b42-2113848cfbc9 ] @{vnfr_list} = [ 7840cff0-5462-4bea-9b42-2113848cfbc9 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 7840cff0-5462-4bea-9b42-2113848cfbc9 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 7840cff0-5462-4bea-9b42-2113848cfbc9 basic_09 cluster_main daily regression verify @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 7840cff0-5462-4bea-9b42-2113848cfbc9 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] @{vdur_list} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 1 ${vdurs} = 1 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 1 Get the number of VDU records before the manual scaling. basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_09_manual_scaling_test vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_09_manual_scaling_test vnf 2>&1'. ${rc} = 0 ${stdout} = 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 5a71708b-d0bb-4f1a-8ce5-83d14ad8c217 basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 7840cff0-5462-4bea-9b42-2113848cfbc9 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ] @{vdur_list} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 1: basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one more VDU after scaling or not. basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_09_manual_scaling_test vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_09_manual_scaling_test vnf 2>&1'. ${rc} = 0 ${stdout} = 0aaed385-8307-4023-9796-6d1e6d53ecb5 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0aaed385-8307-4023-9796-6d1e6d53ecb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 0aaed385-8307-4023-9796-6d1e6d53ecb5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0aaed385-8307-4023-9796-6d1e6d53ecb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 0aaed385-8307-4023-9796-6d1e6d53ecb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 0aaed385-8307-4023-9796-6d1e6d53ecb5 basic_09 cluster_main daily regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 7840cff0-5462-4bea-9b42-2113848cfbc9 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] @{vdur_list} = [ basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 1 ${vdurs} = 1 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_09 cluster_main daily regression verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_09_manual_scaling_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 2068af96-48e2-49df-8036-a9dd469427ae | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.208 | ubuntu20.04 | simple_requires-1-1-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | d948c17d-6117-4863-869f-31ce81b1e341 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_09_manual_scaling_test 2>&1'. ${rc} = 0 ${stdout} = basic_09_manual_scaling_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_09_manual_scaling_test == basic_09_manual_scaling_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_09_manual_scaling_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_09 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_09 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_09 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-09] Manual VNF/VDU Scaling. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_charm_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_charm_vnf.tar.gz fc51cb12-6836-4034-86c7-986db8292d8e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = fc51cb12-6836-4034-86c7-986db8292d8e basic_11 cluster_ee_config cluster_relations daily regression sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/native_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_charm_ns Package created: /robot-systest/osm-pac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_charm_ns Package created: /robot-systest/osm-packages/charm-packages/native_charm_ns.tar.gz 6410131a-482f-438d-a87c-ca82a6f56cac ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 6410131a-482f-438d-a87c-ca82a6f56cac basic_11 cluster_ee_config cluster_relations daily regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_11_native_charms --nsd_name native_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = e1e326ed-f12e-45bf-b58c-da79e9446fe8 ${stdout} Logs the given message with the given level. e1e326ed-f12e-45bf-b58c-da79e9446fe8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = e1e326ed-f12e-45bf-b58c-da79e9446fe8 ${ns_id} Logs the given message with the given level. e1e326ed-f12e-45bf-b58c-da79e9446fe8 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 0b12852b-6024-48b9-add3-666588dcb988 | heal_01-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 0b12852b-6024-48b9-add3-666588dcb988 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 0b12852b-6024-48b9-add3-666588dcb988 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.159.191; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | a9db62cf-223c-4111-91a4-853bd2365bd4 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.159.188; osm-ext=172.21.249.78 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 0b12852b-6024-48b9-add3-666588dcb988 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.246 | ubuntu20.04 | several_volumes-VM-flv | | 35f2dc22-91ba-4dcc-96b1-ed30008724ab | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | BUILDING | INSTANTIATING (f6346fb1-bedd-4edb-b73e-141f15cb1a81) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_11_native_charms" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_11_native_charms | e1e326ed-f12e-45bf-b58c-da79e9446fe8 | 2024-03-28T01:54:32 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = e1e326ed-f12e-45bf-b58c-da79e9446fe8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = e1e326ed-f12e-45bf-b58c-da79e9446fe8 basic_11 cluster_ee_config cluster_relations daily regression sanity ${ip_addr_1} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep e1e326ed-f12e-45bf-b58c-da79e9446fe8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.194 ${stdout} Logs the given message with the given level. 172.21.249.194 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_1} = 172.21.249.194 ${ip_addr_1} Logs the given message with the given level. 172.21.249.194 ${vnf_1_ip_addr} ${ip_addr_1} Makes a variable available everywhere within the scope of the current suite. ${vnf_1_ip_addr} = 172.21.249.194 ${ip_addr_2} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep e1e326ed-f12e-45bf-b58c-da79e9446fe8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.182 ${stdout} Logs the given message with the given level. 172.21.248.182 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.248.182 ${ip_addr_2} Logs the given message with the given level. 172.21.248.182 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.248.182 basic_11 cluster_ee_config cluster_relations daily regression sanity ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.194:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 01:59:03 UTC 2024 System load: 0.49 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.194 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.182:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 01:59:05 UTC 2024 System load: 0.39 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.182 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@basic-11-native--vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_11 cluster_ee_config cluster_relations daily regression sanity ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.194:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 01:59:07 UTC 2024 System load: 0.49 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.249.194 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 01:59:04 2024 from 172.21.249.4 ubuntu@basic-11-native--vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.182:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 01:59:09 UTC 2024 System load: 0.36 Processes: 89 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.182 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 01:59:06 2024 from 172.21.249.4 ubuntu@basic-11-native--vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. basic_11 cluster_ee_config cluster_relations daily regression sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_11_native_charms 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.128; osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.104.77; osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_11_native_charms 2>&1'. ${rc} = 0 ${stdout} = basic_11_native_charms ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_11_native_charms == basic_11_native_charms ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | a991d1fd-0187-4082-863f-7d51e9fd3b07 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu18.04 | simple_requires-1-1-flv | | 2c348322-58f8-4ffa-840b-1498d12057c4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.194 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_11_native_charms 2>&1'. ${rc} = 0 ${stdout} = basic_11_native_charms ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_11_native_charms == basic_11_native_charms ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_11_native_charms 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_11 cleanup cluster_ee_config cluster_relations daily regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_11 cleanup cluster_ee_config cluster_relations daily regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_11 cleanup cluster_ee_config cluster_relations daily regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-11] Native Charms ${rc} ${stdout} cp -r '%{PACKAGES_FOLDER}/${nsd_pkg}' '%{PACKAGES_FOLDER}/${new_nsd_pkg}' Runs the given command in the system and returns the RC and output. Running command 'cp -r '/robot-systest/osm-packages/nscharm_ns' '/robot-systest/osm-packages/new_nscharm_ns' 2>&1'. ${rc} = 0 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsd_yaml} %{PACKAGES_FOLDER}/${new_nsd_pkg}/${nsd_file} Returns the contents of a specified file. Getting file '<a href="file:///robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml">/robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml</a>'. ${nsd_yaml} = nsd: nsd: - description: NS with 2 VNFs df: - id: default-df vnf-profile: - id: '1' virtual-link-connectivity: - constituent-cpd-id: - constituent-bas... ${changed_nsd_yaml} ${nsd_yaml} ${old_juju_password} %{JUJU_PASSWORD} Replaces ``search_for`` in the given ``string`` with ``replace_with``. ${changed_nsd_yaml} = nsd: nsd: - description: NS with 2 VNFs df: - id: default-df vnf-profile: - id: '1' virtual-link-connectivity: - constituent-cpd-id: - constituent-bas... %{PACKAGES_FOLDER}/${new_nsd_pkg}/${nsd_file} ${changed_nsd_yaml} Creates a file with the given content and encoding. Created file '<a href="file:///robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml">/robot-systest/osm-packages/new_nscharm_ns/nscharm_nsd.yaml</a>'. NS package needs to be updated with the Juju credentials for your OSM installation basic_12 cluster_ee_config daily regression '%{PACKAGES_FOLDER}/${vnfd_pkg1}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/nscharm_policy_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/nscharm_policy_vnf Validation OK List of charms in the descriptor: {'vnf-policy_ubuntu-20.04-amd64.charm'} Adding File: nscharm_policy_vnf Package create... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/nscharm_policy_vnf Validation OK List of charms in the descriptor: {'vnf-policy_ubuntu-20.04-amd64.charm'} Adding File: nscharm_policy_vnf Package created: /robot-systest/osm-packages/nscharm_policy_vnf.tar.gz Uploading package /robot-systest/osm-packages/nscharm_policy_vnf.tar.gz a1e8e65e-8b94-4196-87bd-eadd2149ace2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = a1e8e65e-8b94-4196-87bd-eadd2149ace2 '%{PACKAGES_FOLDER}/${vnfd_pkg2}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/nscharm_user_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/nscharm_user_vnf Validation OK List of charms in the descriptor: {'vnf-user_ubuntu-20.04-amd64.charm'} Adding File: nscharm_user_vnf Package created: /ro... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/nscharm_user_vnf Validation OK List of charms in the descriptor: {'vnf-user_ubuntu-20.04-amd64.charm'} Adding File: nscharm_user_vnf Package created: /robot-systest/osm-packages/nscharm_user_vnf.tar.gz Uploading package /robot-systest/osm-packages/nscharm_user_vnf.tar.gz e0920a2c-2cdb-4fab-bb49-06674c0c1e1d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = e0920a2c-2cdb-4fab-bb49-06674c0c1e1d basic_12 cluster_ee_config daily regression %{PACKAGES_FOLDER}/${new_nsd_pkg}/ ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create /robot-systest/osm-packages/new_nscharm_ns/ 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/new_nscharm_ns Validation OK List of charms in the descriptor: {'ns_ubuntu-18.04-amd64.charm'} Adding File: new_nscharm_ns Package created: /robot-systes... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/new_nscharm_ns Validation OK List of charms in the descriptor: {'ns_ubuntu-18.04-amd64.charm'} Adding File: new_nscharm_ns Package created: /robot-systest/osm-packages/new_nscharm_ns.tar.gz e53c102d-e656-46ee-90a3-8959887a2344 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = e53c102d-e656-46ee-90a3-8959887a2344 basic_12 cluster_ee_config daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ns_launch_max_wait_time=${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name test_nscharm --nsd_name nscharm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = f460720f-dad7-4a56-b365-be66ed41f058 ${stdout} Logs the given message with the given level. f460720f-dad7-4a56-b365-be66ed41f058 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f460720f-dad7-4a56-b365-be66ed41f058 ${ns_id} Logs the given message with the given level. f460720f-dad7-4a56-b365-be66ed41f058 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | 12340472-477b-4fea-ae4b-ebd0a3b27ef9 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.226.62 | ubuntu18.04 | simple_requires-1-1-flv | | d512fdf0-c810-4014-a9f0-ab208e7ac621 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.5; test_nscharm-internal=192.168.132.3 | ubuntu18.04 | simple_requires-1-1-flv | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | 12340472-477b-4fea-ae4b-ebd0a3b27ef9 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.226.62 | ubuntu18.04 | simple_requires-1-1-flv | | d512fdf0-c810-4014-a9f0-ab208e7ac621 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.5; test_nscharm-internal=192.168.132.3 | ubuntu18.04 | simple_requires-1-1-flv | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 12340472-477b-4fea-ae4b-ebd0a3b27ef9 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.226.62 | ubuntu18.04 | simple_requires-1-1-flv | | d512fdf0-c810-4014-a9f0-ab208e7ac621 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.5; test_nscharm-internal=192.168.132.3 | ubuntu18.04 | simple_requires-1-1-flv | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 12340472-477b-4fea-ae4b-ebd0a3b27ef9 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.226.62 | ubuntu18.04 | simple_requires-1-1-flv | | d512fdf0-c810-4014-a9f0-ab208e7ac621 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.5; test_nscharm-internal=192.168.132.3 | ubuntu18.04 | simple_requires-1-1-flv | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | BUILDING | INSTANTIATING (68868418-b4d8-4f6b-b74f-b0f37fba3ae2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 12340472-477b-4fea-ae4b-ebd0a3b27ef9 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.226.62 | ubuntu18.04 | simple_requires-1-1-flv | | d512fdf0-c810-4014-a9f0-ab208e7ac621 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.5; test_nscharm-internal=192.168.132.3 | ubuntu18.04 | simple_requires-1-1-flv | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 12340472-477b-4fea-ae4b-ebd0a3b27ef9 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.226.62 | ubuntu18.04 | simple_requires-1-1-flv | | d512fdf0-c810-4014-a9f0-ab208e7ac621 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.5; test_nscharm-internal=192.168.132.3 | ubuntu18.04 | simple_requires-1-1-flv | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="test_nscharm" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | test_nscharm | f460720f-dad7-4a56-b365-be66ed41f058 | 2024-03-28T02:00:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = f460720f-dad7-4a56-b365-be66ed41f058 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f460720f-dad7-4a56-b365-be66ed41f058 basic_12 cluster_ee_config daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete test_nscharm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 12340472-477b-4fea-ae4b-ebd0a3b27ef9 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.226.62 | ubuntu18.04 | simple_requires-1-1-flv | | d512fdf0-c810-4014-a9f0-ab208e7ac621 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.5; test_nscharm-internal=192.168.132.3 | ubuntu18.04 | simple_requires-1-1-flv | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep test_nscharm 2>&1'. ${rc} = 0 ${stdout} = test_nscharm ${stdout} ${ns} Fails if objects are equal after converting them to strings. test_nscharm == test_nscharm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep test_nscharm 2>&1'. ${rc} = 0 ${stdout} = test_nscharm ${stdout} ${ns} Fails if objects are equal after converting them to strings. test_nscharm == test_nscharm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep test_nscharm 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_12 cleanup cluster_ee_config daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete nscharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep nscharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. '%{PACKAGES_FOLDER}/${new_nsd_pkg}' Removes the temporary package folder created for the test ${rc} ${stdout} rm -rf '${folder_name}' Runs the given command in the system and returns the RC and output. Running command 'rm -rf ''/robot-systest/osm-packages/new_nscharm_ns'' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. basic_12 cleanup cluster_ee_config daily regression ${vnfd_name1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete nscharm-policy-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep nscharm-policy-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_name2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete nscharm-user-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep nscharm-user-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_12 cleanup cluster_ee_config daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor and instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name1} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name2} Runs the given keyword with the given arguments, if one or more tests failed. '%{PACKAGES_FOLDER}/${new_nsd_pkg}' Removes the temporary package folder created for the test ${rc} ${stdout} rm -rf '${folder_name}' Runs the given command in the system and returns the RC and output. Running command 'rm -rf ''/robot-systest/osm-packages/new_nscharm_ns'' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. [BASIC-12] NS Primitives '%{PACKAGES_FOLDER}/${vnfd_pkg1}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf Validation OK List of charms in the descriptor: {'simple_provides'} Adding File: ns_relations_provides_vnf Packa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf Validation OK List of charms in the descriptor: {'simple_provides'} Adding File: ns_relations_provides_vnf Package created: /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/ns_relations_provides_vnf.tar.gz 3adc2402-cce4-4ff8-9b81-d0a5f70e3cd1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 3adc2402-cce4-4ff8-9b81-d0a5f70e3cd1 basic_13 cluster_ee_config cluster_relations daily regression '%{PACKAGES_FOLDER}/${vnfd_pkg2}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/ns_relations_requires_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ns_relations_requires_vnf Validation OK List of charms in the descriptor: {'simple_requires'} Adding File: ns_relations_requires_vnf Packa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ns_relations_requires_vnf Validation OK List of charms in the descriptor: {'simple_requires'} Adding File: ns_relations_requires_vnf Package created: /robot-systest/osm-packages/charm-packages/ns_relations_requires_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/ns_relations_requires_vnf.tar.gz d87ede0c-cde5-4ab6-a818-75fc350e0bad ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = d87ede0c-cde5-4ab6-a818-75fc350e0bad basic_13 cluster_ee_config cluster_relations daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/ns_relations_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ns_relations_ns Validation OK List of charms in the descriptor: set() Adding File: ns_relations_ns Package created: /robot-systest/osm-pac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ns_relations_ns Validation OK List of charms in the descriptor: set() Adding File: ns_relations_ns Package created: /robot-systest/osm-packages/charm-packages/ns_relations_ns.tar.gz f8fb9d44-38e9-42e8-a758-9fe6cbf0c1df ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = f8fb9d44-38e9-42e8-a758-9fe6cbf0c1df basic_13 cluster_ee_config cluster_relations daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_13_ns_relations_test --nsd_name ns_relations-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = aa3e4180-d829-409c-b713-2d27a837fee1 ${stdout} Logs the given message with the given level. aa3e4180-d829-409c-b713-2d27a837fee1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = aa3e4180-d829-409c-b713-2d27a837fee1 ${ns_id} Logs the given message with the given level. aa3e4180-d829-409c-b713-2d27a837fee1 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 97e5f0d5-b1eb-447a-ace1-353dc2d99588 | heal_02-charm_vnf-mgmtVM-1 | ERROR | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | BUILDING | INSTANTIATING (cc93f1a4-2258-42ee-82b7-be190f86dc47) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_13_ns_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_13_ns_relations_test | aa3e4180-d829-409c-b713-2d27a837fee1 | 2024-03-28T02:03:52 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = aa3e4180-d829-409c-b713-2d27a837fee1 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = aa3e4180-d829-409c-b713-2d27a837fee1 basic_13 cluster_ee_config cluster_relations daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_13_ns_relations_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | eb41732a-e60a-4cf6-a87c-df71cb534472 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 9edff814-e4a8-4750-80ab-ff885c8be16d | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.49 | ubuntu18.04 | simple_requires-1-1-flv | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_13_ns_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13_ns_relations_test == basic_13_ns_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_13_ns_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13_ns_relations_test == basic_13_ns_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_13_ns_relations_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ns_relations-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ns_relations-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_provides-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_provides-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ns_relations_requires-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ns_relations_requires-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_13 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-13] NS Relations '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/vnf_relations_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_requires', 'simple_provides'} Adding File: vnf_relations_vnf Pa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf Validation OK List of charms in the descriptor: {'simple_requires', 'simple_provides'} Adding File: vnf_relations_vnf Package created: /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/vnf_relations_vnf.tar.gz 2be99eb7-176e-4a91-8225-02777dba2c87 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 2be99eb7-176e-4a91-8225-02777dba2c87 basic_14 cluster_ee_config cluster_relations daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/vnf_relations_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_ns Validation OK List of charms in the descriptor: set() Adding File: vnf_relations_ns Package created: /robot-systest/osm-p... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/vnf_relations_ns Validation OK List of charms in the descriptor: set() Adding File: vnf_relations_ns Package created: /robot-systest/osm-packages/charm-packages/vnf_relations_ns.tar.gz 09753936-5f3f-4855-897c-b771c6fda266 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 09753936-5f3f-4855-897c-b771c6fda266 basic_14 cluster_ee_config cluster_relations daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_14_vnf_relations_test --nsd_name vnf_relations-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 701326de-0c87-43c4-8b01-b98fc6a8e612 ${stdout} Logs the given message with the given level. 701326de-0c87-43c4-8b01-b98fc6a8e612 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 701326de-0c87-43c4-8b01-b98fc6a8e612 ${ns_id} Logs the given message with the given level. 701326de-0c87-43c4-8b01-b98fc6a8e612 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.177.64; osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.177.137; osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.177.89; osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 8dbe730d-aaa8-41fe-9a1c-5d13c3be06c6 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 5e661186-5457-4f92-901b-d15148c0a33a | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.148 | ubuntu18.04 | osm.heal02_240371 | | a7e0f17c-f695-43f1-b8ab-2aecf20bed59 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.249.190 | ubuntu18.04 | osm.heal02_240371 | | 00df94a2-2f93-4d41-a00d-7ff2568f0e5c | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.187 | ubuntu18.04 | osm.heal02_240371 | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | BUILDING | INSTANTIATING (8c9500ea-a073-4409-b7b0-e10a2819491c) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | READY | IDLE (None) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Nam... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_14_vnf_relations_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_14_vnf_relations_test | 701326de-0c87-43c4-8b01-b98fc6a8e612 | 2024-03-28T02:08:46 | READY | IDLE (None) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 701326de-0c87-43c4-8b01-b98fc6a8e612 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 701326de-0c87-43c4-8b01-b98fc6a8e612 basic_14 cluster_ee_config cluster_relations daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_14_vnf_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14_vnf_relations_test == basic_14_vnf_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 4d5c0808-e8e7-48fd-8df9-6456dee23afa | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.83 | ubuntu18.04 | simple_requires-1-1-flv | | 673733a0-56ee-4b59-a302-9eaadf14bbc4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 0 ${stdout} = basic_14_vnf_relations_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14_vnf_relations_test == basic_14_vnf_relations_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_14_vnf_relations_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_14 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete vnf_relations-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep vnf_relations-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_14 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete vnf_relations-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep vnf_relations-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_14 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-14] VNF Relations ${user_name} ${user_password} ${user_name} Verifies that the given item is not empty. Length is 18 ${user_password} Verifies that the given item is not empty. Length is 18 ${rc} ${stdout} osm user-create ${user_name} --password ${user_password} Runs the given command in the system and returns the RC and output. Running command 'osm user-create basic_15_test_user --password basic_15_user_pass 2>&1'. ${rc} = 0 ${stdout} = 00610501-a42d-483f-8db4-d1fa6c4405a8 ${stdout} Logs the given message with the given level. 00610501-a42d-483f-8db4-d1fa6c4405a8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${user_name} Verifies that the given item is not empty. Length is 18 ${rc} ${stdout} osm user-list | awk 'NR>3 {print $2}' | grep "${user_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-list | awk 'NR>3 {print $2}' | grep "basic_15_test_user"'. ${rc} = 0 ${stdout} = basic_15_test_user ${stdout} Logs the given message with the given level. basic_15_test_user ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${user_name} ${user_project} ${user_role} ${user_name} Verifies that the given item is not empty. Length is 18 ${project_name} Verifies that the given item is not empty. Length is 5 ${role_name} Verifies that the given item is not empty. Length is 12 ${rc} ${stdout} osm user-update --add-project-role '${project_name},${role_name}' ${user_name} Runs the given command in the system and returns the RC and output. Running command 'osm user-update --add-project-role 'admin,project_user' basic_15_test_user 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${user_project} ${user_name} Verifies that the given item is not empty. Length is 18 ${project_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show basic_15_test_user | grep "project_name" | grep "admin" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "admin", | ${stdout} Logs the given message with the given level. | | "project_name": "admin", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${user_role} ${user_project} ${user_name} Verifies that the given item is not empty. Length is 18 ${role_name} Verifies that the given item is not empty. Length is 12 ${project_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm user-show ${user_name} | grep -B1 "role_name" | grep -B1 "${role_name}" | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show basic_15_test_user | grep -B1 "role_name" | grep -B1 "project_user" | grep "project_name" | grep "admin" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "admin", | ${stdout} Logs the given message with the given level. | | "project_name": "admin", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${rc} ${stdout} OSM_USER=${user_name} OSM_PROJECT=${user_project} OSM_PASSWORD=${user_password} osm ns-list Runs the given command in the system and returns the RC and output. Running command 'OSM_USER=basic_15_test_user OSM_PROJECT=admin OSM_PASSWORD=basic_15_user_pass osm ns-list 2>&1'. ${rc} = 0 ${stdout} = +------------------+----+------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+----+------+--------... ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${project_name} ${project_name} Verifies that the given item is not empty. Length is 21 ${rc} ${stdout} osm project-create ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-create basic_15_test_project 2>&1'. ${rc} = 0 ${stdout} = 9055c509-ca27-49ba-b2bd-d96f71380a50 ${stdout} Logs the given message with the given level. 9055c509-ca27-49ba-b2bd-d96f71380a50 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_name} ${new_project_name} ${project_name} Verifies that the given item is not empty. Length is 21 ${new_name} Verifies that the given item is not empty. Length is 21 ${rc} ${stdout} osm project-update ${project_name} --name ${new_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-update basic_15_test_project --name basic_15_project_test 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${role_name} ${role_name} Verifies that the given item is not empty. Length is 9 ${rc} ${stdout} osm role-create ${role_name} Runs the given command in the system and returns the RC and output. Running command 'osm role-create test_role 2>&1'. ${rc} = 0 ${stdout} = c9ae2887-fb69-4d75-b731-f6a6b0d530a1 ${stdout} Logs the given message with the given level. c9ae2887-fb69-4d75-b731-f6a6b0d530a1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${role_name} ${role_name} Verifies that the given item is not empty. Length is 9 ${rc} ${stdout} osm role-list | awk 'NR>3 {print $2}' | grep "${role_name}" Runs the given command in the system and returns the RC and output. Running command 'osm role-list | awk 'NR>3 {print $2}' | grep "test_role"'. ${rc} = 0 ${stdout} = test_role ${stdout} Logs the given message with the given level. test_role ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${role_name} add='vims: true' Updates a role in OSM. The extra parameters (like '--add') are given to this function in name=value format. These parameters will be appended to the 'osm role-update' command with the next syntax: --param_name=param_value Example of execution: Update Role ${role_name} add='vims: true' ${osm_update_command} osm role-update ${role_name} Returns the given values which can then be assigned to a variables. ${osm_update_command} = osm role-update test_role ${param} @{optional_parameters} add='vims: true' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = add='vims: true' ${param_name} = add ${param_value} = 'vims: true' ${osm_update_command} ${osm_update_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_update_command} = osm role-update test_role --add='vims: true' ${rc} ${stdout} ${osm_update_command} Runs the given command in the system and returns the RC and output. Running command 'osm role-update test_role --add='vims: true' 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${role_name} ${role_name} Verifies that the given item is not empty. Length is 9 ${rc} ${stdout} osm role-list | awk 'NR>3 {print $2}' | grep "${role_name}" Runs the given command in the system and returns the RC and output. Running command 'osm role-list | awk 'NR>3 {print $2}' | grep "test_role"'. ${rc} = 0 ${stdout} = test_role ${stdout} Logs the given message with the given level. test_role ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cluster_main daily regression ${user_name} ${rc} ${stdout} osm user-delete ${user_name} Runs the given command in the system and returns the RC and output. Running command 'osm user-delete basic_15_test_user 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${new_project_name} ${rc} ${stdout} osm project-delete ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-delete basic_15_project_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${role_name} ${rc} ${stdout} osm role-delete ${role_name} Runs the given command in the system and returns the RC and output. Running command 'osm role-delete test_role 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> basic_15 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Run Keyword And Ignore Error Delete User ${user_name} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete Role ${role_name} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete Project ${project_name} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete Project ${new_project_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-15] RBAC Configurations. '%{PACKAGES_FOLDER}/${vnfd_pkg}' df.0.instantiation-level.0.vdu-level.0.number-of-instances=${init_instances};df.0.vdu-profile.0.min-number-of-instances=${min_instances};df.0.vdu-profile.0.max-number-of-instances=${max_instances};df.0.scaling-aspect.0.aspect-delta-details.deltas.0.vdu-delta.0.number-of-instances=${delta_instances} Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - override_fields: String with options to override fields in descriptor, format: "key1.key2...=value[;key3...=value;...]" - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} --override '${override_fields}' Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' --override 'df.0.instantiation-level.0.vdu-level.0.number-of-instances=3;df.0.vdu-profile.0.min-number-of-instances=3;df.0.vdu-profile.0.max-number-of-instances=5;df.0.scaling-aspect.0.aspect-delta-details.deltas.0.vdu-delta.0.number-of-instances=2' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz 4614c436-43e9-4b17-90d4-c37dbbf9ea0d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 4614c436-43e9-4b17-90d4-c37dbbf9ea0d basic_16 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/os... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/osm-packages/hackfest_basic_metrics_ns.tar.gz dfed44e1-047b-4a0d-9406-4a03568ec0cb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = dfed44e1-047b-4a0d-9406-4a03568ec0cb basic_16 cluster_main daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_16 --nsd_name hackfest_basic-ns-metrics --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 ${stdout} Logs the given message with the given level. 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 ${ns_id} Logs the given message with the given level. 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_16 | 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 | 2024-03-28T02:14:04 | BUILDING | INSTANTIATING (93ca321c-8c16-4331-8dbd-2d63cadb9e05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_16 | 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 | 2024-03-28T02:14:04 | BUILDING | INSTANTIATING (93ca321c-8c16-4331-8dbd-2d63cadb9e05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 5e8a7a4c-bd56-4e52-b486-bc9892fe0dbd | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.158 | ubuntu20.04 | simple_requires-1-1-flv | | 981c1fc6-618c-4702-97e3-048ac0ffb1c8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 749c8ef9-7dde-475c-9fbc-14fcf4aa0b8c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_16 | 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 | 2024-03-28T02:14:04 | BUILDING | INSTANTIATING (93ca321c-8c16-4331-8dbd-2d63cadb9e05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_16 | 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 | 2024-03-28T02:14:04 | BUILDING | INSTANTIATING (93ca321c-8c16-4331-8dbd-2d63cadb9e05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 5e8a7a4c-bd56-4e52-b486-bc9892fe0dbd | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.158 | ubuntu20.04 | simple_requires-1-1-flv | | 981c1fc6-618c-4702-97e3-048ac0ffb1c8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 749c8ef9-7dde-475c-9fbc-14fcf4aa0b8c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_16 | 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 | 2024-03-28T02:14:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 5e8a7a4c-bd56-4e52-b486-bc9892fe0dbd | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.158 | ubuntu20.04 | simple_requires-1-1-flv | | 981c1fc6-618c-4702-97e3-048ac0ffb1c8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 749c8ef9-7dde-475c-9fbc-14fcf4aa0b8c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_16" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_16 | 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 | 2024-03-28T02:14:04 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 9d559ff2-dd53-4ec4-8845-4aad3e7f39d5 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 579cb95b-c909-4a11-abab-14cfb8165614 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ 579cb95b-c909-4a11-abab-14cfb8165614 ] @{vnfr_list} = [ 579cb95b-c909-4a11-abab-14cfb8165614 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 579cb95b-c909-4a11-abab-14cfb8165614 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 579cb95b-c909-4a11-abab-14cfb8165614 basic_16 cluster_main daily regression @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 579cb95b-c909-4a11-abab-14cfb8165614 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 3 ${init_instances} != ${initial_vdur_count} Fail msg=Instantiated VDUs (${initial_vdur_count}) don't match specified number in descriptor (${init_instances}) Runs the given keyword with the given arguments, if ``condition`` is true. Check the number of VDUs instances before the manual scaling. basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_16 vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-out basic_16 vnf 2>&1'. ${rc} = 0 ${stdout} = 6219ea0d-2704-4dc0-adc8-1309813e4be1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6219ea0d-2704-4dc0-adc8-1309813e4be1 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 6219ea0d-2704-4dc0-adc8-1309813e4be1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6219ea0d-2704-4dc0-adc8-1309813e4be1 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 6219ea0d-2704-4dc0-adc8-1309813e4be1 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6219ea0d-2704-4dc0-adc8-1309813e4be1 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6219ea0d-2704-4dc0-adc8-1309813e4be1 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 6219ea0d-2704-4dc0-adc8-1309813e4be1 basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 579cb95b-c909-4a11-abab-14cfb8165614 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 basic_16-vnf-hackfest_basic_metrics-VM-3 basic_16-vnf-hackfest_basic_metrics-... ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | basic_16-vnf-hackfest_basic_metrics-VM-3 | basic_16-vnf-hackfest_basi... @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | basic_16-vnf-hackfest_basic_metrics-VM-3 | basic_16-vnf-hackfest_basi... ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 5 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 3: basic_16-vnf-hackfest_basic_metrics-VM-3 4: basic_16-vnf-hackfest_basic_metrics-VM-4 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 5 ${vdurs} = 5 ${vdurs} != ${initial_vdur_count} + ${delta_instances} Fail msg=VDU instances in the VNF (${vdurs}) don't match after Scale Out (${initial_vdur_count} + ${delta_instances}) Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one more VDU after scaling or not. basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_16 vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group vdu_autoscale --scale-in basic_16 vnf 2>&1'. ${rc} = 0 ${stdout} = 9b6ab67b-b75a-4916-a3b5-94a62844d2e4 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9b6ab67b-b75a-4916-a3b5-94a62844d2e4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 9b6ab67b-b75a-4916-a3b5-94a62844d2e4 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9b6ab67b-b75a-4916-a3b5-94a62844d2e4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 9b6ab67b-b75a-4916-a3b5-94a62844d2e4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 9b6ab67b-b75a-4916-a3b5-94a62844d2e4 basic_16 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 579cb95b-c909-4a11-abab-14cfb8165614 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_16-vnf-hackfest_basic_metrics-VM-0 basic_16-vnf-hackfest_basic_metrics-VM-1 basic_16-vnf-hackfest_basic_metrics-VM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] @{vdur_list} = [ basic_16-vnf-hackfest_basic_metrics-VM-0 | basic_16-vnf-hackfest_basic_metrics-VM-1 | basic_16-vnf-hackfest_basic_metrics-VM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_16-vnf-hackfest_basic_metrics-VM-0 1: basic_16-vnf-hackfest_basic_metrics-VM-1 2: basic_16-vnf-hackfest_basic_metrics-VM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_16 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_16 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 5e8a7a4c-bd56-4e52-b486-bc9892fe0dbd | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.158 | ubuntu20.04 | simple_requires-1-1-flv | | 981c1fc6-618c-4702-97e3-048ac0ffb1c8 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.248 | ubuntu20.04 | simple_requires-1-1-flv | | 749c8ef9-7dde-475c-9fbc-14fcf4aa0b8c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_16 2>&1'. ${rc} = 0 ${stdout} = basic_16 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_16 == basic_16 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_16 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_16 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-16] Advanced onboarding with override and complex scaling (3 initial instances, scaled by two). '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 773893a5-632d-46f8-b1eb-419968d97b26 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 773893a5-632d-46f8-b1eb-419968d97b26 basic_17 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_ns Package created: /robot-systest/osm-packages/hackf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_ns Package created: /robot-systest/osm-packages/hackfest_basic_ns.tar.gz 2bd6f917-7618-4bb6-bead-da807096be94 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 2bd6f917-7618-4bb6-bead-da807096be94 basic_17 cluster_main daily regression ${vnfd_name} Deletes a NF Package that cannot be deleted and asserts the failure ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ERROR: Error 409: { "code": "CONFLICT", "status": 409, "detail": "There is at least one NS package referencing this descriptor" } ${stdout} Logs the given message with the given level. ERROR: Error 409: { "code": "CONFLICT", "status": 409, "detail": "There is at least one NS package referencing this descriptor" } ${rc} ${failure_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 409 msg=Expected Conflict values=False Fails if ``container`` does not contain ``item`` one or more times. ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} True Runs the specified keyword and retries if it fails. ${vnfd_id} True ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = hackfest_basic-vnf ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are unequal after converting them to strings. basic_17 cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_17 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_17 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting NS and VNF packages Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-17] Delete VNF Package Before NS Package. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/ubuntu_4ifaces_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ubuntu_4ifaces_vnf Validation OK List of charms in the descriptor: set() Adding File: ubuntu_4ifaces_vnf Package created: /robot-systest/osm-packages/ubu... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ubuntu_4ifaces_vnf Validation OK List of charms in the descriptor: set() Adding File: ubuntu_4ifaces_vnf Package created: /robot-systest/osm-packages/ubuntu_4ifaces_vnf.tar.gz Uploading package /robot-systest/osm-packages/ubuntu_4ifaces_vnf.tar.gz d7d09310-3f8f-4ddc-bd02-4100642b2069 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = d7d09310-3f8f-4ddc-bd02-4100642b2069 basic_18 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/ubuntu_4ifaces_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ubuntu_4ifaces_ns Validation OK List of charms in the descriptor: set() Adding File: ubuntu_4ifaces_ns Package created: /robot-systest/osm-packages/ubunt... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ubuntu_4ifaces_ns Validation OK List of charms in the descriptor: set() Adding File: ubuntu_4ifaces_ns Package created: /robot-systest/osm-packages/ubuntu_4ifaces_ns.tar.gz 11429fe7-962b-46ae-91af-b2d568ea0600 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 11429fe7-962b-46ae-91af-b2d568ea0600 basic_18 cluster_main daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_18 --nsd_name ubuntu_4ifaces-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 2ecd0830-7b02-4739-9722-a731ec114a1b ${stdout} Logs the given message with the given level. 2ecd0830-7b02-4739-9722-a731ec114a1b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2ecd0830-7b02-4739-9722-a731ec114a1b ${ns_id} Logs the given message with the given level. 2ecd0830-7b02-4739-9722-a731ec114a1b ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | BUILDING | INSTANTIATING (fb8358aa-113e-4254-ab46-da0f59b1fe60) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | BUILDING | INSTANTIATING (fb8358aa-113e-4254-ab46-da0f59b1fe60) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 6e194e69-4ca4-47a3-9659-68facccc2297 | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5e63a017-f05f-424e-bd6d-936460008be3 | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | BUILDING | INSTANTIATING (fb8358aa-113e-4254-ab46-da0f59b1fe60) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | BUILDING | INSTANTIATING (fb8358aa-113e-4254-ab46-da0f59b1fe60) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 6e194e69-4ca4-47a3-9659-68facccc2297 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.224; basic_18-datanet2=192.168.20.217; basic_18-datanet3=192.168.30.165; osm-ext=172.21.249.116 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5e63a017-f05f-424e-bd6d-936460008be3 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.155; basic_18-datanet2=192.168.20.102; basic_18-datanet3=192.168.30.27; osm-ext=172.21.248.130 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | BUILDING | INSTANTIATING (fb8358aa-113e-4254-ab46-da0f59b1fe60) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | BUILDING | INSTANTIATING (fb8358aa-113e-4254-ab46-da0f59b1fe60) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 6e194e69-4ca4-47a3-9659-68facccc2297 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.224; basic_18-datanet2=192.168.20.217; basic_18-datanet3=192.168.30.165; osm-ext=172.21.249.116 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5e63a017-f05f-424e-bd6d-936460008be3 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.155; basic_18-datanet2=192.168.20.102; basic_18-datanet3=192.168.30.27; osm-ext=172.21.248.130 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 6e194e69-4ca4-47a3-9659-68facccc2297 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.224; basic_18-datanet2=192.168.20.217; basic_18-datanet3=192.168.30.165; osm-ext=172.21.249.116 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5e63a017-f05f-424e-bd6d-936460008be3 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.155; basic_18-datanet2=192.168.20.102; basic_18-datanet3=192.168.30.27; osm-ext=172.21.248.130 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_18" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_18 | 2ecd0830-7b02-4739-9722-a731ec114a1b | 2024-03-28T02:17:08 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 2ecd0830-7b02-4739-9722-a731ec114a1b ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2ecd0830-7b02-4739-9722-a731ec114a1b basic_18 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 2ecd0830-7b02-4739-9722-a731ec114a1b | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e935a163-aa6c-4443-8452-fec4dc2ea477 b12bb745-c51f-4c5e-9674-a2861ca961be ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ e935a163-aa6c-4443-8452-fec4dc2ea477 | b12bb745-c51f-4c5e-9674-a2861ca961be ] @{vnfr_list} = [ e935a163-aa6c-4443-8452-fec4dc2ea477 | b12bb745-c51f-4c5e-9674-a2861ca961be ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: e935a163-aa6c-4443-8452-fec4dc2ea477 1: b12bb745-c51f-4c5e-9674-a2861ca961be ${vnf_id1} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id1} = e935a163-aa6c-4443-8452-fec4dc2ea477 ${vnf_id2} ${vnfr_list}[1] Makes a variable available everywhere within the scope of the current suite. ${vnf_id2} = b12bb745-c51f-4c5e-9674-a2861ca961be ${ip} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 2ecd0830-7b02-4739-9722-a731ec114a1b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.130 ${stdout} Logs the given message with the given level. 172.21.248.130 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.248.130 ${vnf1_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ipmgmt} = 172.21.248.130 ${vnf1_ipmgmt} Logs the given message with the given level. 172.21.248.130 ${ip} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep 2ecd0830-7b02-4739-9722-a731ec114a1b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.116 ${stdout} Logs the given message with the given level. 172.21.249.116 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.249.116 ${vnf2_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ipmgmt} = 172.21.249.116 ${vnf2_ipmgmt} Logs the given message with the given level. 172.21.249.116 basic_18 cluster_main daily regression ${vnf_id1} msg=VNF1 is not available Fails unless the given variable exists within the current scope. ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface1_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e935a163-aa6c-4443-8452-fec4dc2ea477 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.155 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${datanet1_prefix} msg=${stdout} doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${vnf1_ip1} ${stdout} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ip1} = 192.168.10.155 ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface2_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e935a163-aa6c-4443-8452-fec4dc2ea477 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.102 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${datanet2_prefix} msg=${stdout} doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${vnf1_ip2} ${stdout} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ip2} = 192.168.20.102 ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface3_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show e935a163-aa6c-4443-8452-fec4dc2ea477 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.27 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${datanet3_prefix} msg=${stdout} doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${vnf1_ip3} ${stdout} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ip3} = 192.168.30.27 basic_18 cluster_main daily regression ${vnf_id1} msg=VNF2 is not available Fails unless the given variable exists within the current scope. ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface1_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b12bb745-c51f-4c5e-9674-a2861ca961be --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.224 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${datanet1_prefix} msg=${stdout} doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${vnf2_ip1} ${stdout} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ip1} = 192.168.10.224 ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface2_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b12bb745-c51f-4c5e-9674-a2861ca961be --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.217 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${datanet2_prefix} msg=${stdout} doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${vnf2_ip2} ${stdout} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ip2} = 192.168.20.217 ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface3_name}")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b12bb745-c51f-4c5e-9674-a2861ca961be --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.165 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${datanet3_prefix} msg=${stdout} doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${vnf2_ip3} ${stdout} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ip3} = 192.168.30.165 basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. 10 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 10 seconds Wait for SSH daemon to be up ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.130:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:19:19 UTC 2024 System load: 0.3 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.248.130 Memory usage: 10% IPv4 address for ens4: 192.168.10.155 Swap usage: 0% IPv4 address for ens5: 192.168.20.102 Processes: 108 IPv4 address for ens6: 192.168.30.27 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.248.130/22 192.168.10.155/24 192.168.20.102/24 192.168.30.27/24 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 172.21.248.130/22 192.168.10.155/24 192.168.20.102/24 192.168.30.27/24 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 172.21.248.130/22 192.168.10.155/24 192.168.20.102/24 192.168.30.27/24 ${stdout} Logs the given message with the given level. 172.21.248.130/22 192.168.10.155/24 192.168.20.102/24 192.168.30.27/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.130/22 | 192.168.10.155/24 | 192.168.20.102/24 | 192.168.30.27/24 ] ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[3] ${datanet3_prefix} msg=${ip}[3] doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_18 cluster_main daily regression ${vnf2_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip --brief addr show up | grep -v "^lo" | awk '{print $3}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.116:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:19:22 UTC 2024 System load: 0.26 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.249.116 Memory usage: 10% IPv4 address for ens4: 192.168.10.224 Swap usage: 0% IPv4 address for ens5: 192.168.20.217 Processes: 108 IPv4 address for ens6: 192.168.30.165 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.249.116/22 192.168.10.224/24 192.168.20.217/24 192.168.30.165/24 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 172.21.249.116/22 192.168.10.224/24 192.168.20.217/24 192.168.30.165/24 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 172.21.249.116/22 192.168.10.224/24 192.168.20.217/24 192.168.30.165/24 ${stdout} Logs the given message with the given level. 172.21.249.116/22 192.168.10.224/24 192.168.20.217/24 192.168.30.165/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.116/22 | 192.168.10.224/24 | 192.168.20.217/24 | 192.168.30.165/24 ] ${ip}[1] ${datanet1_prefix} msg=${ip}[1] doesn't match subnet's regexp ${datanet1_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[2] ${datanet2_prefix} msg=${ip}[2] doesn't match subnet's regexp ${datanet2_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${ip}[3] ${datanet3_prefix} msg=${ip}[3] doesn't match subnet's regexp ${datanet3_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf2_ipmgmt} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.130:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:19:24 UTC 2024 System load: 0.35 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.130 Memory usage: 10% IPv4 address for ens4: 192.168.10.155 Swap usage: 0% IPv4 address for ens5: 192.168.20.102 Processes: 108 IPv4 address for ens6: 192.168.30.27 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:20 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 172.21.249.116'. Command exited with return code 0. ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:b1:51:41 brd ff:ff:ff:ff:ff:ff inet 172.21.248.130/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86317sec preferred_lft 86317sec inet6 fe80::f816:3eff:feb1:5141/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:41:7f:af brd ff:ff:ff:ff:ff:ff inet 192.168.10.155/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe41:7faf/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d0:a3:63 brd ff:ff:ff:ff:ff:ff inet 192.168.20.102/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed0:a363/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d5:f2:45 brd ff:ff:ff:ff:ff:ff inet 192.168.30.27/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed5:f245/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.116 (172.21.249.116) 56(84) bytes of data. 64 bytes from 172.21.249.116: icmp_seq=1 ttl=64 time=2.59 ms 64 bytes from 172.21.249.116: icmp_seq=2 ttl=64 time=0.532 ms 64 bytes from 172.21.249.116: icmp_seq=3 ttl=64 time=0.527 ms 64 bytes from 172.21.249.116: icmp_seq=4 ttl=64 time=0.649 ms 64 bytes from 172.21.249.116: icmp_seq=5 ttl=64 time=0.496 ms --- 172.21.249.116 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4057ms rtt min/avg/max/mdev = 0.496/0.958/2.590/0.817 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:b1:51:41 brd ff:ff:ff:ff:ff:ff inet 172.21.248.130/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86317sec preferred_lft 86317sec inet6 fe80::f816:3eff:feb1:5141/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:41:7f:af brd ff:ff:ff:ff:ff:ff inet 192.168.10.155/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe41:7faf/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d0:a3:63 brd ff:ff:ff:ff:ff:ff inet 192.168.20.102/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed0:a363/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:d5:f2:45 brd ff:ff:ff:ff:ff:ff inet 192.168.30.27/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fed5:f245/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.116 (172.21.249.116) 56(84) bytes of data. 64 bytes from 172.21.249.116: icmp_seq=1 ttl=64 time=2.59 ms 64 bytes from 172.21.249.116: icmp_seq=2 ttl=64 time=0.532 ms 64 bytes from 172.21.249.116: icmp_seq=3 ttl=64 time=0.527 ms 64 bytes from 172.21.249.116: icmp_seq=4 ttl=64 time=0.649 ms 64 bytes from 172.21.249.116: icmp_seq=5 ttl=64 time=0.496 ms --- 172.21.249.116 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4057ms rtt min/avg/max/mdev = 0.496/0.958/2.590/0.817 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.130:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:19:30 UTC 2024 System load: 0.41 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.130 Memory usage: 10% IPv4 address for ens4: 192.168.10.155 Swap usage: 0% IPv4 address for ens5: 192.168.20.102 Processes: 109 IPv4 address for ens6: 192.168.30.27 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:24 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 192.168.10.224'. Command exited with return code 0. ${stdout} = PING 192.168.10.224 (192.168.10.224) 56(84) bytes of data. 64 bytes from 192.168.10.224: icmp_seq=1 ttl=64 time=2.26 ms 64 bytes from 192.168.10.224: icmp_seq=2 ttl=64 time=0.884 ms 64 bytes from 192.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.10.224 (192.168.10.224) 56(84) bytes of data. 64 bytes from 192.168.10.224: icmp_seq=1 ttl=64 time=2.26 ms 64 bytes from 192.168.10.224: icmp_seq=2 ttl=64 time=0.884 ms 64 bytes from 192.168.10.224: icmp_seq=3 ttl=64 time=0.687 ms 64 bytes from 192.168.10.224: icmp_seq=4 ttl=64 time=0.623 ms 64 bytes from 192.168.10.224: icmp_seq=5 ttl=64 time=0.856 ms --- 192.168.10.224 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 0.623/1.061/2.257/0.605 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = PING 192.168.10.224 (192.168.10.224) 56(84) bytes of data. 64 bytes from 192.168.10.224: icmp_seq=1 ttl=64 time=2.26 ms 64 bytes from 192.168.10.224: icmp_seq=2 ttl=64 time=0.884 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.10.224 (192.168.10.224) 56(84) bytes of data. 64 bytes from 192.168.10.224: icmp_seq=1 ttl=64 time=2.26 ms 64 bytes from 192.168.10.224: icmp_seq=2 ttl=64 time=0.884 ms 64 bytes from 192.168.10.224: icmp_seq=3 ttl=64 time=0.687 ms 64 bytes from 192.168.10.224: icmp_seq=4 ttl=64 time=0.623 ms 64 bytes from 192.168.10.224: icmp_seq=5 ttl=64 time=0.856 ms --- 192.168.10.224 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 0.623/1.061/2.257/0.605 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.130:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information disabled due to load higher than 1.0 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:30 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 192.168.20.217'. Command exited with return code 0. ${stdout} = PING 192.168.20.217 (192.168.20.217) 56(84) bytes of data. 64 bytes from 192.168.20.217: icmp_seq=1 ttl=64 time=2.75 ms 64 bytes from 192.168.20.217: icmp_seq=2 ttl=64 time=0.805 ms 64 bytes from 192.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.20.217 (192.168.20.217) 56(84) bytes of data. 64 bytes from 192.168.20.217: icmp_seq=1 ttl=64 time=2.75 ms 64 bytes from 192.168.20.217: icmp_seq=2 ttl=64 time=0.805 ms 64 bytes from 192.168.20.217: icmp_seq=3 ttl=64 time=0.703 ms 64 bytes from 192.168.20.217: icmp_seq=4 ttl=64 time=0.693 ms 64 bytes from 192.168.20.217: icmp_seq=5 ttl=64 time=0.691 ms --- 192.168.20.217 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4037ms rtt min/avg/max/mdev = 0.691/1.127/2.745/0.809 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = PING 192.168.20.217 (192.168.20.217) 56(84) bytes of data. 64 bytes from 192.168.20.217: icmp_seq=1 ttl=64 time=2.75 ms 64 bytes from 192.168.20.217: icmp_seq=2 ttl=64 time=0.805 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.20.217 (192.168.20.217) 56(84) bytes of data. 64 bytes from 192.168.20.217: icmp_seq=1 ttl=64 time=2.75 ms 64 bytes from 192.168.20.217: icmp_seq=2 ttl=64 time=0.805 ms 64 bytes from 192.168.20.217: icmp_seq=3 ttl=64 time=0.703 ms 64 bytes from 192.168.20.217: icmp_seq=4 ttl=64 time=0.693 ms 64 bytes from 192.168.20.217: icmp_seq=5 ttl=64 time=0.691 ms --- 192.168.20.217 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4037ms rtt min/avg/max/mdev = 0.691/1.127/2.745/0.809 ms ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} ping -c 5 ${vnf2_ip3} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.130:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information disabled due to load higher than 1.0 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:36 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 192.168.30.165'. Command exited with return code 0. ${stdout} = PING 192.168.30.165 (192.168.30.165) 56(84) bytes of data. 64 bytes from 192.168.30.165: icmp_seq=1 ttl=64 time=2.80 ms 64 bytes from 192.168.30.165: icmp_seq=2 ttl=64 time=0.696 ms 64 bytes from 192.... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. PING 192.168.30.165 (192.168.30.165) 56(84) bytes of data. 64 bytes from 192.168.30.165: icmp_seq=1 ttl=64 time=2.80 ms 64 bytes from 192.168.30.165: icmp_seq=2 ttl=64 time=0.696 ms 64 bytes from 192.168.30.165: icmp_seq=3 ttl=64 time=0.897 ms 64 bytes from 192.168.30.165: icmp_seq=4 ttl=64 time=0.806 ms 64 bytes from 192.168.30.165: icmp_seq=5 ttl=64 time=2.12 ms --- 192.168.30.165 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4008ms rtt min/avg/max/mdev = 0.696/1.462/2.797/0.842 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = PING 192.168.30.165 (192.168.30.165) 56(84) bytes of data. 64 bytes from 192.168.30.165: icmp_seq=1 ttl=64 time=2.80 ms 64 bytes from 192.168.30.165: icmp_seq=2 ttl=64 time=0.696 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.30.165 (192.168.30.165) 56(84) bytes of data. 64 bytes from 192.168.30.165: icmp_seq=1 ttl=64 time=2.80 ms 64 bytes from 192.168.30.165: icmp_seq=2 ttl=64 time=0.696 ms 64 bytes from 192.168.30.165: icmp_seq=3 ttl=64 time=0.897 ms 64 bytes from 192.168.30.165: icmp_seq=4 ttl=64 time=0.806 ms 64 bytes from 192.168.30.165: icmp_seq=5 ttl=64 time=2.12 ms --- 192.168.30.165 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4008ms rtt min/avg/max/mdev = 0.696/1.462/2.797/0.842 ms basic_18 cluster_main daily regression ${vnf1_ipmgmt} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ipmgmt} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.116:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:19:47 UTC 2024 System load: 0.17 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.116 Memory usage: 10% IPv4 address for ens4: 192.168.10.224 Swap usage: 0% IPv4 address for ens5: 192.168.20.217 Processes: 106 IPv4 address for ens6: 192.168.30.165 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:23 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 172.21.248.130'. Command exited with return code 0. ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.130 (172.21.248.130) 56(84) bytes of data. 64 bytes from 172.21.248.130: icmp_seq=1 ttl=64 time=1.24 ms 64 bytes from 172.21.248.130: icmp_seq=2 ttl=64 time=0.917 ms 64 bytes from 172.21.248.130: icmp_seq=3 ttl=64 time=0.650 ms 64 bytes from 172.21.248.130: icmp_seq=4 ttl=64 time=0.620 ms 64 bytes from 172.21.248.130: icmp_seq=5 ttl=64 time=0.489 ms --- 172.21.248.130 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4044ms rtt min/avg/max/mdev = 0.489/0.782/1.235/0.265 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.130 (172.21.248.130) 56(84) bytes of data. 64 bytes from 172.21.248.130: icmp_seq=1 ttl=64 time=1.24 ms 64 bytes from 172.21.248.130: icmp_seq=2 ttl=64 time=0.917 ms 64 bytes from 172.21.248.130: icmp_seq=3 ttl=64 time=0.650 ms 64 bytes from 172.21.248.130: icmp_seq=4 ttl=64 time=0.620 ms 64 bytes from 172.21.248.130: icmp_seq=5 ttl=64 time=0.489 ms --- 172.21.248.130 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4044ms rtt min/avg/max/mdev = 0.489/0.782/1.235/0.265 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.116:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:19:53 UTC 2024 System load: 0.16 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.116 Memory usage: 10% IPv4 address for ens4: 192.168.10.224 Swap usage: 0% IPv4 address for ens5: 192.168.20.217 Processes: 108 IPv4 address for ens6: 192.168.30.165 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:47 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.10.155'. Command exited with return code 0. ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86295sec preferred_lft 86295sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.155 (192.168.10.155) 56(84) bytes of data. 64 bytes from 192.168.10.155: icmp_seq=1 ttl=64 time=1.37 ms 64 bytes from 192.168.10.155: icmp_seq=2 ttl=64 time=0.792 ms 64 bytes from 192.168.10.155: icmp_seq=3 ttl=64 time=0.692 ms 64 bytes from 192.168.10.155: icmp_seq=4 ttl=64 time=0.721 ms 64 bytes from 192.168.10.155: icmp_seq=5 ttl=64 time=0.650 ms --- 192.168.10.155 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4012ms rtt min/avg/max/mdev = 0.650/0.844/1.366/0.264 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86295sec preferred_lft 86295sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.155 (192.168.10.155) 56(84) bytes of data. 64 bytes from 192.168.10.155: icmp_seq=1 ttl=64 time=1.37 ms 64 bytes from 192.168.10.155: icmp_seq=2 ttl=64 time=0.792 ms 64 bytes from 192.168.10.155: icmp_seq=3 ttl=64 time=0.692 ms 64 bytes from 192.168.10.155: icmp_seq=4 ttl=64 time=0.721 ms 64 bytes from 192.168.10.155: icmp_seq=5 ttl=64 time=0.650 ms --- 192.168.10.155 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4012ms rtt min/avg/max/mdev = 0.650/0.844/1.366/0.264 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.116:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:19:58 UTC 2024 System load: 0.14 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.116 Memory usage: 10% IPv4 address for ens4: 192.168.10.224 Swap usage: 0% IPv4 address for ens5: 192.168.20.217 Processes: 108 IPv4 address for ens6: 192.168.30.165 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:53 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.20.102'. Command exited with return code 0. ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86289sec preferred_lft 86289sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.102 (192.168.20.102) 56(84) bytes of data. 64 bytes from 192.168.20.102: icmp_seq=1 ttl=64 time=1.23 ms 64 bytes from 192.168.20.102: icmp_seq=2 ttl=64 time=0.765 ms 64 bytes from 192.168.20.102: icmp_seq=3 ttl=64 time=0.864 ms 64 bytes from 192.168.20.102: icmp_seq=4 ttl=64 time=0.689 ms 64 bytes from 192.168.20.102: icmp_seq=5 ttl=64 time=0.629 ms --- 192.168.20.102 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 0.629/0.834/1.226/0.210 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86289sec preferred_lft 86289sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.102 (192.168.20.102) 56(84) bytes of data. 64 bytes from 192.168.20.102: icmp_seq=1 ttl=64 time=1.23 ms 64 bytes from 192.168.20.102: icmp_seq=2 ttl=64 time=0.765 ms 64 bytes from 192.168.20.102: icmp_seq=3 ttl=64 time=0.864 ms 64 bytes from 192.168.20.102: icmp_seq=4 ttl=64 time=0.689 ms 64 bytes from 192.168.20.102: icmp_seq=5 ttl=64 time=0.629 ms --- 192.168.20.102 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4005ms rtt min/avg/max/mdev = 0.629/0.834/1.226/0.210 ms ${stdout} ${vnf2_ipmgmt} ${username} ${EMPTY} ${privatekey} ip addr ; ping -c 5 ${vnf1_ip3} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.116:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:20:04 UTC 2024 System load: 0.13 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.116 Memory usage: 10% IPv4 address for ens4: 192.168.10.224 Swap usage: 0% IPv4 address for ens5: 192.168.20.217 Processes: 108 IPv4 address for ens6: 192.168.30.165 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:19:59 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-18-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.30.27'. Command exited with return code 0. ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86283sec preferred_lft 86283sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.27 (192.168.30.27) 56(84) bytes of data. 64 bytes from 192.168.30.27: icmp_seq=1 ttl=64 time=1.40 ms 64 bytes from 192.168.30.27: icmp_seq=2 ttl=64 time=0.628 ms 64 bytes from 192.168.30.27: icmp_seq=3 ttl=64 time=0.721 ms 64 bytes from 192.168.30.27: icmp_seq=4 ttl=64 time=0.721 ms 64 bytes from 192.168.30.27: icmp_seq=5 ttl=64 time=0.623 ms --- 192.168.30.27 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4075ms rtt min/avg/max/mdev = 0.623/0.817/1.395/0.291 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:f0:1d:27 brd ff:ff:ff:ff:ff:ff inet 172.21.249.116/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86283sec preferred_lft 86283sec inet6 fe80::f816:3eff:fef0:1d27/64 scope link valid_lft forever preferred_lft forever 3: ens4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:70:02:9d brd ff:ff:ff:ff:ff:ff inet 192.168.10.224/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe70:29d/64 scope link valid_lft forever preferred_lft forever 4: ens5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:cc:0b:fb brd ff:ff:ff:ff:ff:ff inet 192.168.20.217/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecc:bfb/64 scope link valid_lft forever preferred_lft forever 5: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:ce:44:3f brd ff:ff:ff:ff:ff:ff inet 192.168.30.165/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fece:443f/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.27 (192.168.30.27) 56(84) bytes of data. 64 bytes from 192.168.30.27: icmp_seq=1 ttl=64 time=1.40 ms 64 bytes from 192.168.30.27: icmp_seq=2 ttl=64 time=0.628 ms 64 bytes from 192.168.30.27: icmp_seq=3 ttl=64 time=0.721 ms 64 bytes from 192.168.30.27: icmp_seq=4 ttl=64 time=0.721 ms 64 bytes from 192.168.30.27: icmp_seq=5 ttl=64 time=0.623 ms --- 192.168.30.27 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4075ms rtt min/avg/max/mdev = 0.623/0.817/1.395/0.291 ms basic_18 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_18 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | BUILD | | ubuntu22.04 | osm.sanity | | 6e194e69-4ca4-47a3-9659-68facccc2297 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.224; basic_18-datanet2=192.168.20.217; basic_18-datanet3=192.168.30.165; osm-ext=172.21.249.116 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5e63a017-f05f-424e-bd6d-936460008be3 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.155; basic_18-datanet2=192.168.20.102; basic_18-datanet3=192.168.30.27; osm-ext=172.21.248.130 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 0 ${stdout} = basic_18 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 == basic_18 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 6e194e69-4ca4-47a3-9659-68facccc2297 | basic_18-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | | | 5e63a017-f05f-424e-bd6d-936460008be3 | basic_18-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.248.130 | ubuntu20.04 | | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 0 ${stdout} = basic_18 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 == basic_18 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_18 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_18 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ubuntu_4ifaces-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ubuntu_4ifaces-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_18 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ubuntu_4ifaces-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ubuntu_4ifaces-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_18 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-18] NS with a VLD with a virtual link profile. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/ipprofile_2vm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ipprofile_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: ipprofile_2vm_vnf Package created: /robot-systest/osm-packages/ippro... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ipprofile_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: ipprofile_2vm_vnf Package created: /robot-systest/osm-packages/ipprofile_2vm_vnf.tar.gz Uploading package /robot-systest/osm-packages/ipprofile_2vm_vnf.tar.gz 8bc846ba-628c-4454-9df4-2fcd9e627c42 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 8bc846ba-628c-4454-9df4-2fcd9e627c42 basic_19 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/ipprofile_2vm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ipprofile_2vm_ns Validation OK List of charms in the descriptor: set() Adding File: ipprofile_2vm_ns Package created: /robot-systest/osm-packages/ipprofi... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ipprofile_2vm_ns Validation OK List of charms in the descriptor: set() Adding File: ipprofile_2vm_ns Package created: /robot-systest/osm-packages/ipprofile_2vm_ns.tar.gz bbaf28fc-91d2-4316-8743-7b389cbd4fe6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = bbaf28fc-91d2-4316-8743-7b389cbd4fe6 basic_19 cluster_main daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_19 --nsd_name ipprofile_2vm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = b8aae73d-7786-4caf-83c0-6b0abe6cc3af ${stdout} Logs the given message with the given level. b8aae73d-7786-4caf-83c0-6b0abe6cc3af ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b8aae73d-7786-4caf-83c0-6b0abe6cc3af ${ns_id} Logs the given message with the given level. b8aae73d-7786-4caf-83c0-6b0abe6cc3af ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_19 | b8aae73d-7786-4caf-83c0-6b0abe6cc3af | 2024-03-28T02:21:00 | BUILDING | INSTANTIATING (fec78a2f-de06-4d55-a1a1-e2401c96d10a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_19 | b8aae73d-7786-4caf-83c0-6b0abe6cc3af | 2024-03-28T02:21:00 | BUILDING | INSTANTIATING (fec78a2f-de06-4d55-a1a1-e2401c96d10a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------+-------------+-------------------------+ | 9a01bdfc-e773-4c17-b1df-23ebfbac7bc7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.183 | ubuntu20.04 | simple_requires-1-1-flv | | 3d88215d-e18b-4e95-b243-684d5868baac | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.164; osm-ext=172.21.249.149 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | c3b8ee90-0991-4eed-8ea8-9fd8ea252866 | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 648bc260-491f-49d3-9dab-bdbd3170cf12 | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 3cd1cb59-5b9c-47d8-8541-5921f481294a | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_19 | b8aae73d-7786-4caf-83c0-6b0abe6cc3af | 2024-03-28T02:21:00 | BUILDING | INSTANTIATING (fec78a2f-de06-4d55-a1a1-e2401c96d10a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_19 | b8aae73d-7786-4caf-83c0-6b0abe6cc3af | 2024-03-28T02:21:00 | BUILDING | INSTANTIATING (fec78a2f-de06-4d55-a1a1-e2401c96d10a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 9a01bdfc-e773-4c17-b1df-23ebfbac7bc7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.183 | ubuntu20.04 | simple_requires-1-1-flv | | 3d88215d-e18b-4e95-b243-684d5868baac | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.164; osm-ext=172.21.249.149 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_19 | b8aae73d-7786-4caf-83c0-6b0abe6cc3af | 2024-03-28T02:21:00 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 9a01bdfc-e773-4c17-b1df-23ebfbac7bc7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.183 | ubuntu20.04 | simple_requires-1-1-flv | | 3d88215d-e18b-4e95-b243-684d5868baac | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.164; osm-ext=172.21.249.149 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_19" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_19 | b8aae73d-7786-4caf-83c0-6b0abe6cc3af | 2024-03-28T02:21:00 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = b8aae73d-7786-4caf-83c0-6b0abe6cc3af ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b8aae73d-7786-4caf-83c0-6b0abe6cc3af basic_19 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep b8aae73d-7786-4caf-83c0-6b0abe6cc3af | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = be3467ad-a9bc-4c94-9aab-8c86560aefcb ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ be3467ad-a9bc-4c94-9aab-8c86560aefcb ] @{vnfr_list} = [ be3467ad-a9bc-4c94-9aab-8c86560aefcb ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: be3467ad-a9bc-4c94-9aab-8c86560aefcb ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = be3467ad-a9bc-4c94-9aab-8c86560aefcb ${ip} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf | grep b8aae73d-7786-4caf-83c0-6b0abe6cc3af | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.149 ${stdout} Logs the given message with the given level. 172.21.249.149 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.249.149 ${vnf_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf_ipmgmt} = 172.21.249.149 ${vnf_ipmgmt} Logs the given message with the given level. 172.21.249.149 basic_19 cluster_main daily regression ${vnf_id} msg=VNF is not available Fails unless the given variable exists within the current scope. ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show be3467ad-a9bc-4c94-9aab-8c86560aefcb --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.164 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${internal_prefix} msg=${stdout} doesn't match subnet's regexp ${internal_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show be3467ad-a9bc-4c94-9aab-8c86560aefcb --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.183 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${internal_prefix} msg=${stdout} doesn't match subnet's regexp ${internal_prefix} Fails if ``string`` does not match ``pattern`` as a regular expression. basic_19 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_19 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 9a01bdfc-e773-4c17-b1df-23ebfbac7bc7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.183 | ubuntu20.04 | simple_requires-1-1-flv | | 3d88215d-e18b-4e95-b243-684d5868baac | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.164; osm-ext=172.21.249.149 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_19 2>&1'. ${rc} = 0 ${stdout} = basic_19 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_19 == basic_19 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_19 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_19 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ipprofile_2vm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ipprofile_2vm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_19 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ipprofile_2vm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ipprofile_2vm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_19 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-19] NS with a single VNF and two VDU linked by a VLD with ip-profile. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz f136d0e1-6a1d-45b2-9c73-8bb4e2a41073 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = f136d0e1-6a1d-45b2-9c73-8bb4e2a41073 basic_20 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_manual_scale_charm_ns Package creat... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_manual_scale_charm_ns Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_ns.tar.gz 5f616276-b439-4925-9fcf-6a46bf10853d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 5f616276-b439-4925-9fcf-6a46bf10853d basic_20 cluster_main daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_20_manual_vdu_scaling_test --nsd_name native_manual_scale_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 48d69a4e-d499-4db8-81f2-18465d0f5ab2 ${stdout} Logs the given message with the given level. 48d69a4e-d499-4db8-81f2-18465d0f5ab2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 48d69a4e-d499-4db8-81f2-18465d0f5ab2 ${ns_id} Logs the given message with the given level. 48d69a4e-d499-4db8-81f2-18465d0f5ab2 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | BUILDING | INSTANTIATING (7c3404e1-a4fb-4577-945b-7808a3f2dc22) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | READY | IDLE (None) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | d3ffa8ee-d57e-43f7-b28b-04c00dc5ae85 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.114.167; osm-ext=172.21.248.17 | ubuntu18.04 | simple_requires-1-1-flv | | 7765dedc-b628-4d6e-8e65-ede98ff3beae | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.114.251; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | 90a9a70a-66c6-414d-b854-6b12027f30ae | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 0354b581-1f85-4411-8f3d-1647f3e4d971 | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.114.58; osm-ext=172.21.248.36 | ubuntu18.04 | simple_requires-1-1-flv | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_20_manual_vdu_scaling_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_20_manual_vdu_scaling_test | 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | 2024-03-28T02:22:53 | READY | IDLE (None) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 48d69a4e-d499-4db8-81f2-18465d0f5ab2 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 48d69a4e-d499-4db8-81f2-18465d0f5ab2 basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 48d69a4e-d499-4db8-81f2-18465d0f5ab2 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 ] @{vnfr_list} = [ fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 basic_20 cluster_main daily regression @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_-vnf-mgmtVM-0 basic_20_manual_-vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] @{vdur_list} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: basic_20_manual_-vnf-mgmtVM-0 1: basic_20_manual_-vnf-mgmtVM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 2 Get the number of VDU records before the manual scaling. basic_20 cluster_main daily regression @{name_list} ${ns_name} Return the list of the application of a VNF instance. ${ns_name} Verifies that the given item is not empty. Length is 32 ${rc} ${stdout} osm ns-show ${ns_name} --literal | yq ._admin.deployed.VCA[].application | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_20_manual_vdu_scaling_test --literal | yq ._admin.deployed.VCA[].application | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ] @{name_list} = [ app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc 1: app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc', 'app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm'] Get the application names. basic_20 cluster_main daily regression ${count_duplicated} ${application_list} Returns and logs the length of the given item as an integer. Length is 2 ${count_duplicated} = 2 ${count_duplicated} != 2 Fail msg=There are not 2 application name in the application list before Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check the application names if there are 2 application name in the application list. basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT ${scale_wait_time} Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 240.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 240.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out basic_20_manual_vdu_scaling_test vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out basic_20_manual_vdu_scaling_test vnf 2>&1'. ${rc} = 0 ${stdout} = 884e2766-9491-45c3-9d61-b5f9802a565c ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 884e2766-9491-45c3-9d61-b5f9802a565c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 884e2766-9491-45c3-9d61-b5f9802a565c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 884e2766-9491-45c3-9d61-b5f9802a565c basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_-vnf-mgmtVM-0 basic_20_manual_-vnf-mgmtVM-1 basic_20_manual_-vnf-mgmtVM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 | basic_20_manual_-vnf-mgmtVM-2 ] @{vdur_list} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 | basic_20_manual_-vnf-mgmtVM-2 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: basic_20_manual_-vnf-mgmtVM-0 1: basic_20_manual_-vnf-mgmtVM-1 2: basic_20_manual_-vnf-mgmtVM-2 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one more VDU after scaling or not. basic_20 cluster_main daily regression @{name_list} ${ns_name} Return the list of the application of a VNF instance. ${ns_name} Verifies that the given item is not empty. Length is 32 ${rc} ${stdout} osm ns-show ${ns_name} --literal | yq ._admin.deployed.VCA[].application | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_20_manual_vdu_scaling_test --literal | yq ._admin.deployed.VCA[].application | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-rqlhh ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-rqlhh ] @{name_list} = [ app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-rqlhh ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc 1: app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm 2: app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-rqlhh ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc', 'app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm', 'app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-rqlhh'] Get the application names. basic_20 cluster_main daily regression ${count_duplicated} ${application_list} Returns and logs the length of the given item as an integer. Length is 3 ${count_duplicated} = 3 ${count_duplicated} != 3 Fail msg=There are not 2 application name in the application list after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check the application names if there are 3 application name in the application list. basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-in basic_20_manual_vdu_scaling_test vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-in basic_20_manual_vdu_scaling_test vnf 2>&1'. ${rc} = 0 ${stdout} = a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = a32bd138-b5b5-4ffc-9fa7-5f763eabcc1f basic_20 cluster_main daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fa747d76-3b9b-45e3-8d26-a8bebe9fcff2 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_-vnf-mgmtVM-0 basic_20_manual_-vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] @{vdur_list} = [ basic_20_manual_-vnf-mgmtVM-0 | basic_20_manual_-vnf-mgmtVM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: basic_20_manual_-vnf-mgmtVM-0 1: basic_20_manual_-vnf-mgmtVM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${vdurs} != ${initial_vdur_count} Fail msg=There is the same number of VDU records in the VNF after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether there is one less VDU after scaling or not. basic_20 cluster_main daily regression @{name_list} ${ns_name} Return the list of the application of a VNF instance. ${ns_name} Verifies that the given item is not empty. Length is 32 ${rc} ${stdout} osm ns-show ${ns_name} --literal | yq ._admin.deployed.VCA[].application | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_20_manual_vdu_scaling_test --literal | yq ._admin.deployed.VCA[].application | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{app_names} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{app_names} = [ app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ] @{name_list} = [ app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc | app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc 1: app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-cw1pc', 'app-vnf-bebe9fcff2-z0-vdu-mgmtvm-cnt-z0-jbrlm'] Get the application names. basic_20 cluster_main daily regression ${count_duplicated} ${application_list} Returns and logs the length of the given item as an integer. Length is 2 ${count_duplicated} = 2 ${count_duplicated} != 2 Fail msg=There are not 2 application name in the application list after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check the application names if there are 2 application name in the application list. basic_20 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 92c563dc-4873-46fd-809d-a05a60169d40 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_vdu_scaling_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_20_manual_vdu_scaling_test == basic_20_manual_vdu_scaling_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 92c563dc-4873-46fd-809d-a05a60169d40 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | d5166368-e794-4a2c-b231-89d9a517ace7 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.219.35; osm-ext=172.21.249.172 | ubuntu18.04 | simple_requires-1-1-flv | | f161fc3f-2bbc-496c-966b-bd5c5ba1e56a | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.219.213; osm-ext=172.21.249.180 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 0 ${stdout} = basic_20_manual_vdu_scaling_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_20_manual_vdu_scaling_test == basic_20_manual_vdu_scaling_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 92c563dc-4873-46fd-809d-a05a60169d40 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_20_manual_vdu_scaling_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_20 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_manual_scale_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_manual_scale_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_20 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_20 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-20] Manual VDU Scaling to test juju applications are scaling for native charms (testing Bug-1609). '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/several_volumes_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/s... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/several_volumes_vnf.tar.gz Uploading package /robot-systest/osm-packages/several_volumes_vnf.tar.gz a06a52cf-e03a-4813-953c-9a244e247dfc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = a06a52cf-e03a-4813-953c-9a244e247dfc basic_21 cluster_main daily prepare regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/several_volumes_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/several_volumes_ns Validation OK List of charms in the descriptor: set() Adding File: several_volumes_ns Package created: /robot-systest/osm-packages/sev... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/several_volumes_ns Validation OK List of charms in the descriptor: set() Adding File: several_volumes_ns Package created: /robot-systest/osm-packages/several_volumes_ns.tar.gz 0a640136-57c9-4fdf-aa95-60d2f0988852 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 0a640136-57c9-4fdf-aa95-60d2f0988852 basic_21 cluster_main daily prepare regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_21 --nsd_name several_volumes-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = f671ea62-84de-4181-9c8d-6dacea292ae8 ${stdout} Logs the given message with the given level. f671ea62-84de-4181-9c8d-6dacea292ae8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f671ea62-84de-4181-9c8d-6dacea292ae8 ${ns_id} Logs the given message with the given level. f671ea62-84de-4181-9c8d-6dacea292ae8 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 92c563dc-4873-46fd-809d-a05a60169d40 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_21 | f671ea62-84de-4181-9c8d-6dacea292ae8 | 2024-03-28T02:32:29 | BUILDING | INSTANTIATING (dc5815c1-5c71-4286-ac8b-226ed5c5446a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_21 | f671ea62-84de-4181-9c8d-6dacea292ae8 | 2024-03-28T02:32:29 | BUILDING | INSTANTIATING (dc5815c1-5c71-4286-ac8b-226ed5c5446a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 7bddbb5f-4949-4e84-b881-6152531db07c | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | several_volumes-VM-flv | | 92c563dc-4873-46fd-809d-a05a60169d40 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_21 | f671ea62-84de-4181-9c8d-6dacea292ae8 | 2024-03-28T02:32:29 | BUILDING | INSTANTIATING (dc5815c1-5c71-4286-ac8b-226ed5c5446a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_21 | f671ea62-84de-4181-9c8d-6dacea292ae8 | 2024-03-28T02:32:29 | BUILDING | INSTANTIATING (dc5815c1-5c71-4286-ac8b-226ed5c5446a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 7bddbb5f-4949-4e84-b881-6152531db07c | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | several_volumes-VM-flv | | 92c563dc-4873-46fd-809d-a05a60169d40 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_21 | f671ea62-84de-4181-9c8d-6dacea292ae8 | 2024-03-28T02:32:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 7bddbb5f-4949-4e84-b881-6152531db07c | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | several_volumes-VM-flv | | 92c563dc-4873-46fd-809d-a05a60169d40 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_21" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_21 | f671ea62-84de-4181-9c8d-6dacea292ae8 | 2024-03-28T02:32:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = f671ea62-84de-4181-9c8d-6dacea292ae8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f671ea62-84de-4181-9c8d-6dacea292ae8 basic_21 cluster_main daily prepare regression ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${id} ${ns_name} ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. basic_21 cleanup cluster_main daily regression verify ${rc} ${stdout} osm vnfpkg-show ${vnfd_name} --literal | yq '.vdu[0]."virtual-storage-desc" | length' Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-show several_volumes-vnf --literal | yq '.vdu[0]."virtual-storage-desc" | length' 2>&1'. ${rc} = 0 ${stdout} = 3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${num_virtual_storage} ${stdout} Converts the given item to an integer number. ${num_virtual_storage} = 3 ${vnf_num_volumes} ${num_virtual_storage} Makes a variable available everywhere within the scope of the current suite. ${vnf_num_volumes} = 3 ${vnf_num_volumes} Logs the given message with the given level. 3 basic_21 cluster_main daily regression verify ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 19 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf-several-volumes | grep f671ea62-84de-4181-9c8d-6dacea292ae8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.219 ${stdout} Logs the given message with the given level. 172.21.249.219 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.219 ${ip_addr} Logs the given message with the given level. 172.21.249.219 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.219 basic_21 cluster_main daily regression verify ${vnf_ip_addr} msg=VNF is not available Fails unless the given variable exists within the current scope. 30 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Wait for SSH daemon to be up ${stdout} ${vnf_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.219:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:34:15 UTC 2024 System load: 0.28 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.219 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-21-vnf-several-volu-several-volumes-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo lsblk -l'. Command exited with return code 0. ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${lines} ${stdout} disk Returns lines of the given ``string`` that contain the ``pattern``. 3 out of 10 lines matched ${lines} = vda 252:0 0 10G 0 disk vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${num_lines} ${lines} Returns and logs the number of lines in the given string. 3 lines ${num_lines} = 3 ${num_lines} < ${vnf_num_volumes} Fail msg=Number of disks (${num_lines}) is less than specified in VDU (${vnf_num_volumes}) Runs the given keyword with the given arguments, if ``condition`` is true. basic_21 cluster_main daily regression verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_21 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 27e3bc3f-3e57-4533-b6c6-56ab97fb421b | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.55 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 7bddbb5f-4949-4e84-b881-6152531db07c | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.219 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_21 2>&1'. ${rc} = 0 ${stdout} = basic_21 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_21 == basic_21 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_21 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete several_volumes-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep several_volumes-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_21 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-21] NS with only one VDU and several volumes '%{PACKAGES_FOLDER}/${vnfd_pkg_1}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/cmr_relation_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf Validation OK List of charms in the descriptor: {'sshproxy.charm', 'simple-requires.charm'} Adding File: cmr_relation_vnf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf Validation OK List of charms in the descriptor: {'sshproxy.charm', 'simple-requires.charm'} Adding File: cmr_relation_vnf Package created: /robot-systest/osm-packages/charm-packages/cmr_relation_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/cmr_relation_vnf.tar.gz dfc38a4c-3843-4b89-9682-16e5b02cafba ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = dfc38a4c-3843-4b89-9682-16e5b02cafba basic_22 cluster_ee_config cluster_relations daily regression '%{PACKAGES_FOLDER}/${vnfd_pkg_2}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf Validation OK List of charms in the descriptor: {'simple-requires.charm', 'sshproxy.charm'} Adding File: cmr_no_relati... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf Validation OK List of charms in the descriptor: {'simple-requires.charm', 'sshproxy.charm'} Adding File: cmr_no_relation_vnf Package created: /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/cmr_no_relation_vnf.tar.gz a560039a-2d95-4ca5-be72-73fd3b2d47aa ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = a560039a-2d95-4ca5-be72-73fd3b2d47aa basic_22 cluster_ee_config cluster_relations daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/cmr_relation_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_ns Validation OK List of charms in the descriptor: set() Adding File: cmr_relation_ns Package created: /robot-systest/osm-pac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/cmr_relation_ns Validation OK List of charms in the descriptor: set() Adding File: cmr_relation_ns Package created: /robot-systest/osm-packages/charm-packages/cmr_relation_ns.tar.gz 56a6f943-9a76-49e5-addb-b28159815da7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 56a6f943-9a76-49e5-addb-b28159815da7 basic_22 cluster_ee_config cluster_relations daily regression %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8sbasic_22 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 388f4c1c-1cf6-4695-86e9-9955c44891d6 ${stdout} Logs the given message with the given level. 388f4c1c-1cf6-4695-86e9-9955c44891d6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8sbasic_22" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8sbasic_22 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8sbasic_22" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details ... ${stdout} Logs the given message with the given level. +-------------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------------+--------------------------------------+-----+-------------------+-------------------+ | k8sbasic_22 | 388f4c1c-1cf6-4695-86e9-9955c44891d6 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------------+--------------------------------------+-----+-------------------+-------------------+ | k8sbasic_22 | 388f4c1c-1cf6-4695-86e9-9955c44891d6 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8sbasic_22 2>&1'. ${rc} = 0 ${stdout} = k8sbasic_22 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8sbasic_22 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "388f4c1c-1cf6-4695-86e9-9955c44891d6" | | name | "k8sbasic_22" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "f6a79968-45e5-41a2-9e5c-d2f0b694392a" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711593292.107281, | | | "modified": 1711593297.6186495, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711593292.1073225, | | | "statusEnteredTime": 1711593292.1073225, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "388f4c1c-1cf6-4695-86e9-9955c44891d6", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "388f4c1c-1cf6-4695-86e9-9955c44891d6", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "388f4c1c-1cf6-4695-86e9-9955c44891d6", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8sbasic_22" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details ... ${stdout} Logs the given message with the given level. +-------------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------------+--------------------------------------+-----+-------------------+-------------------+ | k8sbasic_22 | 388f4c1c-1cf6-4695-86e9-9955c44891d6 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------------+--------------------------------------+-----+-------------------+-------------------+ | k8sbasic_22 | 388f4c1c-1cf6-4695-86e9-9955c44891d6 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8sbasic_22 2>&1'. ${rc} = 0 ${stdout} = k8sbasic_22 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. basic_22 cluster_ee_config cluster_relations daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_22 --nsd_name cross_model_relation-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = c7040661-1c2c-4d81-9ba5-0571ff58f0f7 ${stdout} Logs the given message with the given level. c7040661-1c2c-4d81-9ba5-0571ff58f0f7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c7040661-1c2c-4d81-9ba5-0571ff58f0f7 ${ns_id} Logs the given message with the given level. c7040661-1c2c-4d81-9ba5-0571ff58f0f7 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 244b29f6-b884-458d-93b7-5ebe2883a950 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.236 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 244b29f6-b884-458d-93b7-5ebe2883a950 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.236 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | BUILDING | INSTANTIATING (3fa4efb9-3201-4667-9b7b-164b033a5478) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 244b29f6-b884-458d-93b7-5ebe2883a950 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.236 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 244b29f6-b884-458d-93b7-5ebe2883a950 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.236 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_22" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_22 | c7040661-1c2c-4d81-9ba5-0571ff58f0f7 | 2024-03-28T02:35:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = c7040661-1c2c-4d81-9ba5-0571ff58f0f7 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c7040661-1c2c-4d81-9ba5-0571ff58f0f7 basic_22 cluster_ee_config cluster_relations daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_22 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 244b29f6-b884-458d-93b7-5ebe2883a950 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | e492a8ba-8066-4b06-828b-d793030d995a | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.210 | ubuntu18.04 | simple_requires-1-1-flv | | f978ba11-3127-4c15-9296-c25a1e0d006a | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.79 | ubuntu18.04 | simple_requires-1-1-flv | | 91814313-3be5-4bb9-9545-784b711c9dc4 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.248.152 | ubuntu18.04 | simple_requires-1-1-flv | | 64e9ffba-c7c5-4e8c-88f9-f6d6038362c7 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------+--------+------------------------+-------------+-------------------------+ | c4ce3fb5-4a23-4353-9ba5-f8e7f21216d7 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.14 | ubuntu18.04 | simple_requires-1-1-flv | | 466c9467-0181-4719-92e0-af0eca8c49bf | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.115 | ubuntu18.04 | simple_requires-1-1-flv | | 32792e97-acb0-4b5c-9ddd-7f023dcf18c1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ | fdd4cef8-b4ed-488f-a282-ad1b237d96e4 | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 3cf587fb-a24b-4386-8781-5d4a25030f7e | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 95f19426-bfaa-484a-b2d2-d1ec69b5c025 | basic_08_disable-vnf1-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | 22a081bf-a971-4129-b8f8-24f34e303d39 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.220.8; basic_08_disable-internal=192.168.86.127 | ubuntu20.04 | simple_requires-1-1-flv | | fdd4cef8-b4ed-488f-a282-ad1b237d96e4 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.86.85; osm-ext=172.21.249.68 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf587fb-a24b-4386-8781-5d4a25030f7e | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.220.156; basic_08_disable-internal=192.168.183.135 | ubuntu20.04 | simple_requires-1-1-flv | | 95f19426-bfaa-484a-b2d2-d1ec69b5c025 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.183.11; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 0 ${stdout} = basic_22 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 == basic_22 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | 22a081bf-a971-4129-b8f8-24f34e303d39 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.220.8; basic_08_disable-internal=192.168.86.127 | ubuntu20.04 | simple_requires-1-1-flv | | fdd4cef8-b4ed-488f-a282-ad1b237d96e4 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.86.85; osm-ext=172.21.249.68 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf587fb-a24b-4386-8781-5d4a25030f7e | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.220.156; basic_08_disable-internal=192.168.183.135 | ubuntu20.04 | simple_requires-1-1-flv | | 95f19426-bfaa-484a-b2d2-d1ec69b5c025 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.183.11; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_22 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8sbasic_22 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8sbasic_22" | awk '{print $2}' | grep k8sbasic_22 2>&1'. ${rc} = 0 ${stdout} = k8sbasic_22 ${stdout} Verifies that the given item is empty. Length is 11 'k8sbasic_22' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8sbasic_22" | awk '{print $2}' | grep k8sbasic_22 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 basic_22 cleanup cluster_ee_config cluster_relations daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete cross_model_relation-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep cross_model_relation-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name_1} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete cross_model_relation-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep cross_model_relation-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression ${vnfd_name_2} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete cross_model_no_relation-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep cross_model_no_relation-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_22 cleanup cluster_ee_config cluster_relations daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD 1 ${vnfd_name_1} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD 2 ${vnfd_name_2} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-22] Cross-model relations '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/sol004_hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/sol004_hackfest_basic_vnf Validation OK List of charms in the descriptor: set() SOL004 Package created: /robot-systest/sol004_hackfest_basic_vnf.zip Uplo... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/sol004_hackfest_basic_vnf Validation OK List of charms in the descriptor: set() SOL004 Package created: /robot-systest/sol004_hackfest_basic_vnf.zip Uploading package /robot-systest/sol004_hackfest_basic_vnf.zip af905c63-c89c-447c-bfc1-5ff90e41e57a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = af905c63-c89c-447c-bfc1-5ff90e41e57a basic_23 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/sol007_hackfest_basic_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/sol007_hackfest_basic_ns Validation OK List of charms in the descriptor: set() SOL007 Package created: /robot-systest/sol007_hackfest_basic_ns.zip f25ba3... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/sol007_hackfest_basic_ns Validation OK List of charms in the descriptor: set() SOL007 Package created: /robot-systest/sol007_hackfest_basic_ns.zip f25ba31b-09aa-4108-813c-257423d450e9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = f25ba31b-09aa-4108-813c-257423d450e9 basic_23 cluster_main daily regression ${vnfd_name} Deletes a NF Package that cannot be deleted and asserts the failure ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete sol004_hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ERROR: Error 409: { "code": "CONFLICT", "status": 409, "detail": "There is at least one NS package referencing this descriptor" } ${stdout} Logs the given message with the given level. ERROR: Error 409: { "code": "CONFLICT", "status": 409, "detail": "There is at least one NS package referencing this descriptor" } ${rc} ${failure_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} 409 msg=Expected Conflict values=False Fails if ``container`` does not contain ``item`` one or more times. ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} True Runs the specified keyword and retries if it fails. ${vnfd_id} True ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep sol004_hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = sol004_hackfest_basic-vnf ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are unequal after converting them to strings. basic_23 cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete sol007_hackfest_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep sol007_hackfest_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_23 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete sol004_hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep sol004_hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_23 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting NS and VNF packages Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-23] Creation and deletion of SOL004 and SOL007 packages. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/affinity_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/affinity_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: affinity_basic_vnf Package created: /robot-systest/osm-packages/aff... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/affinity_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: affinity_basic_vnf Package created: /robot-systest/osm-packages/affinity_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/affinity_basic_vnf.tar.gz a3bfbd7e-9e23-4de7-87e5-778ab7249efa ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = a3bfbd7e-9e23-4de7-87e5-778ab7249efa basic_24 cluster_main daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/affinity_basic_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/affinity_basic_ns Validation OK List of charms in the descriptor: set() Adding File: affinity_basic_ns Package created: /robot-systest/osm-packages/affin... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/affinity_basic_ns Validation OK List of charms in the descriptor: set() Adding File: affinity_basic_ns Package created: /robot-systest/osm-packages/affinity_basic_ns.tar.gz e89f5d78-bd50-44f5-9d08-3046fa9219d5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = e89f5d78-bd50-44f5-9d08-3046fa9219d5 basic_24 cluster_main daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_24 --nsd_name affinity_basic-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = a99329d6-f8fc-4ae5-968d-463dc236a127 ${stdout} Logs the given message with the given level. a99329d6-f8fc-4ae5-968d-463dc236a127 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a99329d6-f8fc-4ae5-968d-463dc236a127 ${ns_id} Logs the given message with the given level. a99329d6-f8fc-4ae5-968d-463dc236a127 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 65b92ffe-aa30-4377-80b6-a6a9d2218de5 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.182; osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | 74cd0cad-afb4-455f-addd-c6f5c48cb92d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.210; osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_24 | a99329d6-f8fc-4ae5-968d-463dc236a127 | 2024-03-28T02:43:29 | BUILDING | INSTANTIATING (3e562370-3f79-4067-aa69-cbc7cf88621d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_24 | a99329d6-f8fc-4ae5-968d-463dc236a127 | 2024-03-28T02:43:29 | BUILDING | INSTANTIATING (3e562370-3f79-4067-aa69-cbc7cf88621d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 61418e1e-b3d8-4fdc-8007-6cf7521f2d32 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 6e9dcad6-a52e-41cb-b07b-64ede8427079 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.89 | ubuntu20.04 | simple_requires-1-1-flv | | 9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.9 | ubuntu20.04 | simple_requires-1-1-flv | | 65b92ffe-aa30-4377-80b6-a6a9d2218de5 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.182; osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | 74cd0cad-afb4-455f-addd-c6f5c48cb92d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.210; osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_24 | a99329d6-f8fc-4ae5-968d-463dc236a127 | 2024-03-28T02:43:29 | BUILDING | INSTANTIATING (3e562370-3f79-4067-aa69-cbc7cf88621d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_24 | a99329d6-f8fc-4ae5-968d-463dc236a127 | 2024-03-28T02:43:29 | BUILDING | INSTANTIATING (3e562370-3f79-4067-aa69-cbc7cf88621d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5bab535f-a4f1-4c77-9783-e93418636ae0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 61418e1e-b3d8-4fdc-8007-6cf7521f2d32 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 6e9dcad6-a52e-41cb-b07b-64ede8427079 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.89 | ubuntu20.04 | simple_requires-1-1-flv | | 9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.9 | ubuntu20.04 | simple_requires-1-1-flv | | 65b92ffe-aa30-4377-80b6-a6a9d2218de5 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.182; osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | 74cd0cad-afb4-455f-addd-c6f5c48cb92d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.210; osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_24 | a99329d6-f8fc-4ae5-968d-463dc236a127 | 2024-03-28T02:43:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5bab535f-a4f1-4c77-9783-e93418636ae0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 61418e1e-b3d8-4fdc-8007-6cf7521f2d32 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 6e9dcad6-a52e-41cb-b07b-64ede8427079 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.89 | ubuntu20.04 | simple_requires-1-1-flv | | 9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.9 | ubuntu20.04 | simple_requires-1-1-flv | | 65b92ffe-aa30-4377-80b6-a6a9d2218de5 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.182; osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | 74cd0cad-afb4-455f-addd-c6f5c48cb92d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.210; osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_24" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_24 | a99329d6-f8fc-4ae5-968d-463dc236a127 | 2024-03-28T02:43:29 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = a99329d6-f8fc-4ae5-968d-463dc236a127 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a99329d6-f8fc-4ae5-968d-463dc236a127 basic_24 cluster_main daily regression ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${vnf_id} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=affinity-basic-1 | grep a99329d6-f8fc-4ae5-968d-463dc236a127 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b83ea0f0-0068-4357-819c-80b53dfcf3e9 ${stdout} Logs the given message with the given level. b83ea0f0-0068-4357-819c-80b53dfcf3e9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = b83ea0f0-0068-4357-819c-80b53dfcf3e9 @{vdur_id_list} ${vnf_id} Return a list of the VDUr ids for a VNF ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].id' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b83ea0f0-0068-4357-819c-80b53dfcf3e9 --literal | yq '.vdur[].id' 2>&1'. ${rc} = 0 ${stdout} = "2cc05f19-887b-4018-bc47-c2d5cffb7ae6" "68be58ad-2dc9-4504-b183-cb48b58a6eaa" ${stdout} Logs the given message with the given level. "2cc05f19-887b-4018-bc47-c2d5cffb7ae6" "68be58ad-2dc9-4504-b183-cb48b58a6eaa" ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur_ids} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur_ids} = [ "2cc05f19-887b-4018-bc47-c2d5cffb7ae6" | "68be58ad-2dc9-4504-b183-cb48b58a6eaa" ] @{vdur_id_list} = [ "2cc05f19-887b-4018-bc47-c2d5cffb7ae6" | "68be58ad-2dc9-4504-b183-cb48b58a6eaa" ] ${vdur_id} @{vdur_id_list} "2cc05f19-887b-4018-bc47-c2d5cffb7ae6" ${server_group_name} ${ns_name} ${vnf_id} ${vdur_id} Return the affinity group name for a NF ${rc} ${affinity_group_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b83ea0f0-0068-4357-819c-80b53dfcf3e9 --literal | yq '.vdur[] | select(.id == "'"2cc05f19-887b-4018-bc47-c2d5cffb7ae6"'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_id} = 0 ${affinity_group_id} Logs the given message with the given level. 0 ${rc} ${success_return_code} msg=${affinity_group_id} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} ${affinity_group_name} osm ns-show ${ns_name} --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'${affinity_group_id}'")' | yq '.name' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_24 --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'0'")' | yq '.name' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${affinity_group_name} Logs the given message with the given level. basic_24-affinity-basic-1-affinity-group-1 ${rc} ${success_return_code} msg=${affinity_group_name} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${server_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${vm_vim_id} ${vnf_id} ${vdur_id} Return the VIM VM ID for a VDU ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${vm_vim_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."vim-id"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b83ea0f0-0068-4357-819c-80b53dfcf3e9 --literal | yq '.vdur[] | select(.id == "'"2cc05f19-887b-4018-bc47-c2d5cffb7ae6"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = 9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f ${vm_vim_id} Logs the given message with the given level. 9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f ${rc} ${success_return_code} msg=${vm_vim_id} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vm_vim_id} = 9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f ${vm_vim_id} ${server_group_name} Check if a given server is included in an Openstack server group ${server_group_name} Verifies that the given item is not empty. Length is 42 ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server group show ${server_group_name} -c members -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server group show basic_24-affinity-basic-1-affinity-group-1 -c members -f value 2>&1'. ${rc} = 0 ${stdout} = ['6e9dcad6-a52e-41cb-b07b-64ede8427079', '9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f'] ${stdout} Logs the given message with the given level. ['6e9dcad6-a52e-41cb-b07b-64ede8427079', '9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f'] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${server_id} Fails if ``container`` does not contain ``item`` one or more times. "68be58ad-2dc9-4504-b183-cb48b58a6eaa" ${server_group_name} ${ns_name} ${vnf_id} ${vdur_id} Return the affinity group name for a NF ${rc} ${affinity_group_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b83ea0f0-0068-4357-819c-80b53dfcf3e9 --literal | yq '.vdur[] | select(.id == "'"68be58ad-2dc9-4504-b183-cb48b58a6eaa"'")' | yq '."affinity-or-anti-affinity-group-id"[0]' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_id} = 0 ${affinity_group_id} Logs the given message with the given level. 0 ${rc} ${success_return_code} msg=${affinity_group_id} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} ${affinity_group_name} osm ns-show ${ns_name} --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'${affinity_group_id}'")' | yq '.name' | tr -d \\" 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-show basic_24 --literal | yq '."affinity-or-anti-affinity-group"[] | select(.id == "'0'")' | yq '.name' | tr -d \" 2>&1'. ${rc} = 0 ${affinity_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${affinity_group_name} Logs the given message with the given level. basic_24-affinity-basic-1-affinity-group-1 ${rc} ${success_return_code} msg=${affinity_group_name} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${server_group_name} = basic_24-affinity-basic-1-affinity-group-1 ${vm_vim_id} ${vnf_id} ${vdur_id} Return the VIM VM ID for a VDU ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${vm_vim_id} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(.id == "'${vdur_id}'")' | yq '."vim-id"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b83ea0f0-0068-4357-819c-80b53dfcf3e9 --literal | yq '.vdur[] | select(.id == "'"68be58ad-2dc9-4504-b183-cb48b58a6eaa"'")' | yq '."vim-id"' | tr -d \" 2>&1'. ${rc} = 0 ${vm_vim_id} = 6e9dcad6-a52e-41cb-b07b-64ede8427079 ${vm_vim_id} Logs the given message with the given level. 6e9dcad6-a52e-41cb-b07b-64ede8427079 ${rc} ${success_return_code} msg=${vm_vim_id} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vm_vim_id} = 6e9dcad6-a52e-41cb-b07b-64ede8427079 ${vm_vim_id} ${server_group_name} Check if a given server is included in an Openstack server group ${server_group_name} Verifies that the given item is not empty. Length is 42 ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server group show ${server_group_name} -c members -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server group show basic_24-affinity-basic-1-affinity-group-1 -c members -f value 2>&1'. ${rc} = 0 ${stdout} = ['6e9dcad6-a52e-41cb-b07b-64ede8427079', '9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f'] ${stdout} Logs the given message with the given level. ['6e9dcad6-a52e-41cb-b07b-64ede8427079', '9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f'] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${server_id} Fails if ``container`` does not contain ``item`` one or more times. basic_24 cluster_main daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_24 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5bab535f-a4f1-4c77-9783-e93418636ae0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.44 | ubuntu20.04 | simple_requires-1-1-flv | | 61418e1e-b3d8-4fdc-8007-6cf7521f2d32 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 6e9dcad6-a52e-41cb-b07b-64ede8427079 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.89 | ubuntu20.04 | simple_requires-1-1-flv | | 9dbbd617-a2f8-4dfe-95f4-88ac60e18b9f | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.9 | ubuntu20.04 | simple_requires-1-1-flv | | 65b92ffe-aa30-4377-80b6-a6a9d2218de5 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.182; osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | 74cd0cad-afb4-455f-addd-c6f5c48cb92d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.210; osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_24 2>&1'. ${rc} = 0 ${stdout} = basic_24 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_24 == basic_24 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 61418e1e-b3d8-4fdc-8007-6cf7521f2d32 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 65b92ffe-aa30-4377-80b6-a6a9d2218de5 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.182; osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | 74cd0cad-afb4-455f-addd-c6f5c48cb92d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.210; osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_24 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_24 cleanup cluster_main daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete affinity_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep affinity_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_24 cleanup cluster_main daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete affinity_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep affinity_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_24 cleanup cluster_main daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-24] VNF with two VDUs belonging to an Openstack server group ${id} '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-syst... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_vnf.tar.gz ee0a3ea1-e450-4b27-b726-0ee4ce0d3aee ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = ee0a3ea1-e450-4b27-b726-0ee4ce0d3aee ${id} = ee0a3ea1-e450-4b27-b726-0ee4ce0d3aee ${vnfd_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfd_id} = ee0a3ea1-e450-4b27-b726-0ee4ce0d3aee basic_25 cluster_ee_config daily regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: ha_proxy_charm_ns Package created: /robot-systest/osm... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: ha_proxy_charm_ns Package created: /robot-systest/osm-packages/charm-packages/ha_proxy_charm_ns.tar.gz 2aee23e1-d39d-451a-811d-1786a5d8886c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 2aee23e1-d39d-451a-811d-1786a5d8886c basic_25 cluster_ee_config daily regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name basic_25_charm_update_test --nsd_name ha_proxy_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 2f0264ef-4068-417b-9e44-b7d6aa5be329 ${stdout} Logs the given message with the given level. 2f0264ef-4068-417b-9e44-b7d6aa5be329 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2f0264ef-4068-417b-9e44-b7d6aa5be329 ${ns_id} Logs the given message with the given level. 2f0264ef-4068-417b-9e44-b7d6aa5be329 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 61418e1e-b3d8-4fdc-8007-6cf7521f2d32 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 65b92ffe-aa30-4377-80b6-a6a9d2218de5 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.182; osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | 74cd0cad-afb4-455f-addd-c6f5c48cb92d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.230.210; osm-ext=172.21.248.111 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d58f0e83-c7ee-4a40-bc36-0780761dd4a7 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.147; osm-ext=172.21.249.104 | ubuntu18.04 | simple_requires-1-1-flv | | 92fa8c2b-6dc0-4fda-886b-2d45f3575c92 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.73; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | abbfc124-a494-4d19-afa6-1d928c1f2511 | basic_16-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 6cd696d7-1e0c-4db3-8f25-c79e88ac99a7 | basic_16-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | d58f0e83-c7ee-4a40-bc36-0780761dd4a7 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.147; osm-ext=172.21.249.104 | ubuntu18.04 | simple_requires-1-1-flv | | 92fa8c2b-6dc0-4fda-886b-2d45f3575c92 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.73; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | cc5e4d68-24d6-4d9a-96eb-e9bee5beb376 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.55 | ubuntu20.04 | simple_requires-1-1-flv | | abbfc124-a494-4d19-afa6-1d928c1f2511 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.237 | ubuntu20.04 | simple_requires-1-1-flv | | 6cd696d7-1e0c-4db3-8f25-c79e88ac99a7 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | simple_requires-1-1-flv | | d58f0e83-c7ee-4a40-bc36-0780761dd4a7 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.147; osm-ext=172.21.249.104 | ubuntu18.04 | simple_requires-1-1-flv | | 92fa8c2b-6dc0-4fda-886b-2d45f3575c92 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.73; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | BUILDING | INSTANTIATING (75562787-fca7-4ec4-b06c-f817ed67db9f) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | cc5e4d68-24d6-4d9a-96eb-e9bee5beb376 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.55 | ubuntu20.04 | simple_requires-1-1-flv | | abbfc124-a494-4d19-afa6-1d928c1f2511 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.237 | ubuntu20.04 | simple_requires-1-1-flv | | 6cd696d7-1e0c-4db3-8f25-c79e88ac99a7 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | simple_requires-1-1-flv | | d58f0e83-c7ee-4a40-bc36-0780761dd4a7 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.147; osm-ext=172.21.249.104 | ubuntu18.04 | simple_requires-1-1-flv | | 92fa8c2b-6dc0-4fda-886b-2d45f3575c92 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.73; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ |... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | cc5e4d68-24d6-4d9a-96eb-e9bee5beb376 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.55 | ubuntu20.04 | simple_requires-1-1-flv | | abbfc124-a494-4d19-afa6-1d928c1f2511 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.237 | ubuntu20.04 | simple_requires-1-1-flv | | 6cd696d7-1e0c-4db3-8f25-c79e88ac99a7 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | simple_requires-1-1-flv | | d58f0e83-c7ee-4a40-bc36-0780761dd4a7 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.147; osm-ext=172.21.249.104 | ubuntu18.04 | simple_requires-1-1-flv | | 92fa8c2b-6dc0-4fda-886b-2d45f3575c92 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.73; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="basic_25_charm_update_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | basic_25_charm_update_test | 2f0264ef-4068-417b-9e44-b7d6aa5be329 | 2024-03-28T02:45:28 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 2f0264ef-4068-417b-9e44-b7d6aa5be329 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2f0264ef-4068-417b-9e44-b7d6aa5be329 basic_25 cluster_ee_config daily regression ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${id} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 2f0264ef-4068-417b-9e44-b7d6aa5be329 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 4e02e0f4-cc63-4637-94e8-9eed57870df3 ${stdout} Logs the given message with the given level. 4e02e0f4-cc63-4637-94e8-9eed57870df3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 4e02e0f4-cc63-4637-94e8-9eed57870df3 ${id} Logs the given message with the given level. 4e02e0f4-cc63-4637-94e8-9eed57870df3 ${vnf_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 4e02e0f4-cc63-4637-94e8-9eed57870df3 ${ns_update_config} '{changeVnfPackageData: [{vnfInstanceId: "${vnf_id}", vnfdId: "${vnfd_id}"}]}' Makes a variable available everywhere within the scope of the current suite. ${ns_update_config} = '{changeVnfPackageData: [{vnfInstanceId: "4e02e0f4-cc63-4637-94e8-9eed57870df3", vnfdId: "ee0a3ea1-e450-4b27-b726-0ee4ce0d3aee"}]}' basic_25 cluster_ee_config daily regression ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 2f0264ef-4068-417b-9e44-b7d6aa5be329 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.26 ${stdout} Logs the given message with the given level. 172.21.249.26 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.26 ${ip_addr} Logs the given message with the given level. 172.21.249.26 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.26 basic_25 cluster_ee_config daily regression ${vnf_ip_addr} msg=IP address of the management VNF '${vnf_member_index}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.26:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:48:19 UTC 2024 System load: 0.03 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.26 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-25-charm-u-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. basic_25 cluster_ee_config daily regression ${vnf_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.26:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:48:21 UTC 2024 System load: 0.03 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.26 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:48:20 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-25-charm-u-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. basic_25 cluster_ee_config daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id_1} ${ns_name} ${action_name} ${vnf_member_index} filename=${day_2_file_name} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_25_charm_update_test ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = 65ce1159-3343-4c35-9625-88a14d3c5a77 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 65ce1159-3343-4c35-9625-88a14d3c5a77 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 65ce1159-3343-4c35-9625-88a14d3c5a77 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 65ce1159-3343-4c35-9625-88a14d3c5a77 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 65ce1159-3343-4c35-9625-88a14d3c5a77 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = 65ce1159-3343-4c35-9625-88a14d3c5a77 Performs one Day 2 operation on the VNF that creates a new file. basic_25 cluster_ee_config daily regression ${vnf_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.26:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:48:43 UTC 2024 System load: 0.02 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.26 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:48:22 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-25-charm-u-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch1 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the file created in the previous test via Day 2 operations exist or not. basic_25 cluster_ee_config daily regression '%{PACKAGES_FOLDER}/${updated_vnfd_pkg}' ${vnfd_name} Onboards ("Updates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - vnfd_name: Name of the existing NF Package ${rc} ${stdout} osm vnfpkg-update --content ${vnfd_pkg} ${vnfd_name} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-update --content '/robot-systest/osm-packages/charm-packages/updated_vnfds/ha_proxy_charm_vnf' ha_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/updated_vnfds/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package create... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/updated_vnfds/ha_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: ha_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/updated_vnfds/ha_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/updated_vnfds/ha_proxy_charm_vnf.tar.gz Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = Updated Updates the VNFD by using new VNFD package which includes the Charm which has new day2 operation. basic_25 cluster_ee_config daily regression ${ns_id} ${update_type} ${ns_update_config} ${ns_update_timeout} ${rc} ${stdout} osm ns-update ${ns_id} --updatetype ${update_type} --config ${ns_update_config} --timeout ${ns_update_timeout} --wait Runs the given command in the system and returns the RC and output. Running command 'osm ns-update 2f0264ef-4068-417b-9e44-b7d6aa5be329 --updatetype CHANGE_VNFPKG --config '{changeVnfPackageData: [{vnfInstanceId: "4e02e0f4-cc63-4637-94e8-9eed57870df3", vnfdId: "ee0a3ea1-e450-4b27-b726-0ee4ce0d3aee"}]}' --timeout 500 --wait 2>&1'. ${rc} = 0 ${stdout} = detailed-status: In progress detailed-status: Done 4bdc6a68-5559-4ed9-8f7e-db11a64bf7bc ${stdout} Logs the given message with the given level. detailed-status: In progress detailed-status: Done 4bdc6a68-5559-4ed9-8f7e-db11a64bf7bc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Updates the running VNF instance by using new VNFD package. As the VNFD has an updated charm, this operation will trigger the upgrade of existing charm for the specific VNF. basic_25 cluster_ee_config daily regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id_2} ${ns_name} ${new_action_name} ${vnf_member_index} foldername=${day_2_folder_name} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} foldername=/home/ubuntu/myfolder1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = foldername=/home/ubuntu/myfolder1 ${param_name} = foldername ${param_value} = /home/ubuntu/myfolder1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "foldername":"/home/ubuntu/myfolder1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name mkdir --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name mkdir --vnf_name vnf1 --params '{"foldername":"/home/ubuntu/myfolder1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name mkdir --vnf_name vnf1 --params '{"foldername":"/home/ubuntu/myfolder1",}' basic_25_charm_update_test ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name mkdir --vnf_name vnf1 --params '{"foldername":"/home/ubuntu/myfolder1",}' basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = d9e64198-b10e-4d08-9dec-c8c9487f7549 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d9e64198-b10e-4d08-9dec-c8c9487f7549 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id d9e64198-b10e-4d08-9dec-c8c9487f7549 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d9e64198-b10e-4d08-9dec-c8c9487f7549 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d9e64198-b10e-4d08-9dec-c8c9487f7549 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = d9e64198-b10e-4d08-9dec-c8c9487f7549 Performs one Day 2 operation on the updated VNF that creates a new folder. basic_25 cluster_ee_config daily regression ${vnf_ip_addr} ${username} ${password} ${privatekey} ${day_2_folder_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.26:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:49:18 UTC 2024 System load: 0.01 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.26 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 02:48:43 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@basic-25-charm-u-vnf1-mgmtvm-0:~$ ${output} ls -d ${folder} Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls -d /home/ubuntu/myfolder1'. Command exited with return code 0. ${output} = /home/ubuntu/myfolder1 Closes all open connections. ${output} ${folder} Fails if objects are unequal after converting them to strings. Check whether the folder created in the previous test via Day 2 operations exist or not. basic_25 cluster_ee_config daily regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 25748fca-b11f-45be-af3c-7441c468d33c | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.27; osm-ext=172.21.248.171 | ubuntu18.04 | simple_requires-1-1-flv | | 05316c0a-edb8-4714-95fc-6e9fe7b3477d | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.226; osm-ext=172.21.249.42 | ubuntu18.04 | simple_requires-1-1-flv | | d58f0e83-c7ee-4a40-bc36-0780761dd4a7 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.147; osm-ext=172.21.249.104 | ubuntu18.04 | simple_requires-1-1-flv | | 92fa8c2b-6dc0-4fda-886b-2d45f3575c92 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.90.73; osm-ext=172.21.249.26 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = basic_25_charm_update_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_25_charm_update_test == basic_25_charm_update_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | 25748fca-b11f-45be-af3c-7441c468d33c | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.27; osm-ext=172.21.248.171 | ubuntu18.04 | simple_requires-1-1-flv | | 05316c0a-edb8-4714-95fc-6e9fe7b3477d | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.226; osm-ext=172.21.249.42 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_25_charm_update_test 2>&1'. ${rc} = 0 ${stdout} = basic_25_charm_update_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_25_charm_update_test == basic_25_charm_update_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 25748fca-b11f-45be-af3c-7441c468d33c | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.27; osm-ext=172.21.248.171 | ubuntu18.04 | simple_requires-1-1-flv | | 05316c0a-edb8-4714-95fc-6e9fe7b3477d | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.226; osm-ext=172.21.249.42 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep basic_25_charm_update_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_25 cleanup cluster_ee_config daily regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete ha_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep ha_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_25 cleanup cluster_ee_config daily regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete ha_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep ha_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. basic_25 cleanup cluster_ee_config daily regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-25] Update Charms in Running VNF Instance. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_sriov_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_sriov_vnf Package created: /robot-systest/osm-... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_sriov_vnf Package created: /robot-systest/osm-packages/hackfest_basic_sriov_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_sriov_vnf.tar.gz b504b467-0185-4d6e-9a7d-77112730efd9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = b504b467-0185-4d6e-9a7d-77112730efd9 cluster_epa daily epa_01 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_sriov_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_sriov_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_sriov_ns Package created: /robot-systest/osm-pa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_sriov_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_sriov_ns Package created: /robot-systest/osm-packages/hackfest_basic_sriov_ns.tar.gz bf2ca976-1a93-4e8c-98d9-eb15ca4d57e3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = bf2ca976-1a93-4e8c-98d9-eb15ca4d57e3 cluster_epa daily epa_01 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name epa_01-epa_sriov_test --nsd_name hackfest_basic_sriov-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 6b9062db-1c44-40c3-9c97-e3dedb53ed1c ${stdout} Logs the given message with the given level. 6b9062db-1c44-40c3-9c97-e3dedb53ed1c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 6b9062db-1c44-40c3-9c97-e3dedb53ed1c ${ns_id} Logs the given message with the given level. 6b9062db-1c44-40c3-9c97-e3dedb53ed1c ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.51; basic_18-datanet2=192.168.20.77; basic_18-datanet3=192.168.30.199; osm-ext=172.21.248.92 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 25748fca-b11f-45be-af3c-7441c468d33c | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.27; osm-ext=172.21.248.171 | ubuntu18.04 | simple_requires-1-1-flv | | 05316c0a-edb8-4714-95fc-6e9fe7b3477d | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.226; osm-ext=172.21.249.42 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_01-epa_sriov_test | 6b9062db-1c44-40c3-9c97-e3dedb53ed1c | 2024-03-28T02:50:10 | BUILDING | INSTANTIATING (38892008-b759-4b35-8c0a-3957ae46ab5c) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_01-epa_sriov_test | 6b9062db-1c44-40c3-9c97-e3dedb53ed1c | 2024-03-28T02:50:10 | BUILDING | INSTANTIATING (38892008-b759-4b35-8c0a-3957ae46ab5c) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | 35ed6cbf-872e-4bb9-beb2-5df7fd774aba | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.137.235; osm-ext=172.21.248.68 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.9; basic_18-datanet2=192.168.20.91; basic_18-datanet3=192.168.30.109; osm-ext=172.21.249.133 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.51; basic_18-datanet2=192.168.20.77; basic_18-datanet3=192.168.30.199; osm-ext=172.21.248.92 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 25748fca-b11f-45be-af3c-7441c468d33c | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.27; osm-ext=172.21.248.171 | ubuntu18.04 | simple_requires-1-1-flv | | 05316c0a-edb8-4714-95fc-6e9fe7b3477d | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.226; osm-ext=172.21.249.42 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_01-epa_sriov_test | 6b9062db-1c44-40c3-9c97-e3dedb53ed1c | 2024-03-28T02:50:10 | BUILDING | INSTANTIATING (38892008-b759-4b35-8c0a-3957ae46ab5c) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_01-epa_sriov_test | 6b9062db-1c44-40c3-9c97-e3dedb53ed1c | 2024-03-28T02:50:10 | BUILDING | INSTANTIATING (38892008-b759-4b35-8c0a-3957ae46ab5c) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | 35ed6cbf-872e-4bb9-beb2-5df7fd774aba | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.137.235; osm-ext=172.21.248.68 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.9; basic_18-datanet2=192.168.20.91; basic_18-datanet3=192.168.30.109; osm-ext=172.21.249.133 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.51; basic_18-datanet2=192.168.20.77; basic_18-datanet3=192.168.30.199; osm-ext=172.21.248.92 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 25748fca-b11f-45be-af3c-7441c468d33c | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.27; osm-ext=172.21.248.171 | ubuntu18.04 | simple_requires-1-1-flv | | 05316c0a-edb8-4714-95fc-6e9fe7b3477d | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.226; osm-ext=172.21.249.42 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_01-epa_sriov_test | 6b9062db-1c44-40c3-9c97-e3dedb53ed1c | 2024-03-28T02:50:10 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | 35ed6cbf-872e-4bb9-beb2-5df7fd774aba | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.137.235; osm-ext=172.21.248.68 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.9; basic_18-datanet2=192.168.20.91; basic_18-datanet3=192.168.30.109; osm-ext=172.21.249.133 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.51; basic_18-datanet2=192.168.20.77; basic_18-datanet3=192.168.30.199; osm-ext=172.21.248.92 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 25748fca-b11f-45be-af3c-7441c468d33c | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.27; osm-ext=172.21.248.171 | ubuntu18.04 | simple_requires-1-1-flv | | 05316c0a-edb8-4714-95fc-6e9fe7b3477d | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.5.226; osm-ext=172.21.249.42 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_01-epa_sriov_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_01-epa_sriov_test | 6b9062db-1c44-40c3-9c97-e3dedb53ed1c | 2024-03-28T02:50:10 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 6b9062db-1c44-40c3-9c97-e3dedb53ed1c ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 6b9062db-1c44-40c3-9c97-e3dedb53ed1c cluster_epa daily epa_01 regression ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf | grep 6b9062db-1c44-40c3-9c97-e3dedb53ed1c | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.68 ${stdout} Logs the given message with the given level. 172.21.248.68 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.248.68 ${ip_addr} Logs the given message with the given level. 172.21.248.68 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.68 cluster_epa daily epa_01 regression 30 seconds Waiting for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting for SSH daemon to be up ${vnf_ip_addr} ${username} ${password} ${privatekey} lspci | grep "Ethernet controller" | grep -v "Virtio" ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.248.68:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:51:54 UTC 2024 System load: 0.41 Processes: 99 Usage of /: 3.8% of 28.90GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.248.68 Swap usage: 0% 0 updates can be applied immediately. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@epa-01-epa-sriov-vnf-hackfest-basic-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'lspci | grep "Ethernet controller" | grep -v "Virtio"'. Command exited with return code 0. ${stdout} = 00:06.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02) ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 00:06.0 Ethernet controller: Intel Corporation Ethernet Virtual Function 700 Series (rev 02) Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_epa daily epa_01 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete epa_01-epa_sriov_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ | 35ed6cbf-872e-4bb9-beb2-5df7fd774aba | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.137.235; osm-ext=172.21.248.68 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.9; basic_18-datanet2=192.168.20.91; basic_18-datanet3=192.168.30.109; osm-ext=172.21.249.133 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.51; basic_18-datanet2=192.168.20.77; basic_18-datanet3=192.168.30.199; osm-ext=172.21.248.92 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_01-epa_sriov_test 2>&1'. ${rc} = 0 ${stdout} = epa_01-epa_sriov_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_01-epa_sriov_test == epa_01-epa_sriov_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.9; basic_18-datanet2=192.168.20.91; basic_18-datanet3=192.168.30.109; osm-ext=172.21.249.133 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.51; basic_18-datanet2=192.168.20.77; basic_18-datanet3=192.168.30.199; osm-ext=172.21.248.92 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_01-epa_sriov_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_01 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic_sriov-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic_sriov-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_01 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_sriov-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_sriov-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_01 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [EPA-01] EPA+SRIOV without underlay. OVERRIDES Deletes the specified environment variable. Environment variable 'OVERRIDES' does not exist. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/epa_quota_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/epa_quota_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_quota_vnf Package created: /robot-systest/osm-packages/epa_quota_vnf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/epa_quota_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_quota_vnf Package created: /robot-systest/osm-packages/epa_quota_vnf.tar.gz Uploading package /robot-systest/osm-packages/epa_quota_vnf.tar.gz 53a2157f-f11e-4bb0-a89f-f44204963c16 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 53a2157f-f11e-4bb0-a89f-f44204963c16 cluster_epa daily epa_02 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/epa_quota_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/epa_quota_ns Validation OK List of charms in the descriptor: set() Adding File: epa_quota_ns Package created: /robot-systest/osm-packages/epa_quota_ns.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/epa_quota_ns Validation OK List of charms in the descriptor: set() Adding File: epa_quota_ns Package created: /robot-systest/osm-packages/epa_quota_ns.tar.gz c43aed37-f481-49d2-b614-5df7a9929c9a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = c43aed37-f481-49d2-b614-5df7a9929c9a cluster_epa daily epa_02 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name epa_02-epa_quota_test --nsd_name epa_quota-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 ${stdout} Logs the given message with the given level. d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 ${ns_id} Logs the given message with the given level. d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ | 0a16d044-0b71-452e-ad15-5560fd48dd1a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.9; basic_18-datanet2=192.168.20.91; basic_18-datanet3=192.168.30.109; osm-ext=172.21.249.133 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c06c90ec-ed6c-436a-9545-fa5cf62f875b | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.51; basic_18-datanet2=192.168.20.77; basic_18-datanet3=192.168.30.199; osm-ext=172.21.248.92 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_02-epa_quota_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_02-epa_quota_test | d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 | 2024-03-28T02:52:29 | BUILDING | INSTANTIATING (1e470520-2cbe-4e87-9144-8d007d3941ba) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_02-epa_quota_test | d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 | 2024-03-28T02:52:29 | BUILDING | INSTANTIATING (1e470520-2cbe-4e87-9144-8d007d3941ba) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | df65fd74-932c-4bbb-8587-0541335e37ac | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.249.227 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_02-epa_quota_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_02-epa_quota_test | d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 | 2024-03-28T02:52:29 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | df65fd74-932c-4bbb-8587-0541335e37ac | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.249.227 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_02-epa_quota_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | d... ${stdout} Logs the given message with the given level. +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_02-epa_quota_test | d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 | 2024-03-28T02:52:29 | READY | IDLE (None) | N/A | +-----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 cluster_epa daily epa_02 regression ${vnfs_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep d0cfc1cc-d0ee-40ba-9f43-baba92e319d7 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 89b584c2-06cb-498d-a38e-6cac10b7a036 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 89b584c2-06cb-498d-a38e-6cac10b7a036 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 89b584c2-06cb-498d-a38e-6cac10b7a036 ${vnfs_list} = ['89b584c2-06cb-498d-a38e-6cac10b7a036'] ${vim_id} ${vnfs_list}[0] ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 89b584c2-06cb-498d-a38e-6cac10b7a036 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = df65fd74-932c-4bbb-8587-0541335e37ac ${stdout} Logs the given message with the given level. df65fd74-932c-4bbb-8587-0541335e37ac ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vim_id} = df65fd74-932c-4bbb-8587-0541335e37ac ${vim_id} Logs the given message with the given level. df65fd74-932c-4bbb-8587-0541335e37ac ${vnf_server_id} ${vim_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_server_id} = df65fd74-932c-4bbb-8587-0541335e37ac cluster_epa daily epa_02 regression ${flavor_id} ${vnf_server_id} ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server show ${server_id} | grep flavor | awk 'NR>1{print $1}' RS='(' FS=')' Runs the given command in the system and returns the RC and output. Running command 'openstack server show df65fd74-932c-4bbb-8587-0541335e37ac | grep flavor | awk 'NR>1{print $1}' RS='(' FS=')''. ${rc} = 0 ${stdout} = fa455d97-2829-4488-b5f7-2c8a1a810e3f ${stdout} Logs the given message with the given level. fa455d97-2829-4488-b5f7-2c8a1a810e3f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${flavor_id} = fa455d97-2829-4488-b5f7-2c8a1a810e3f ${properties} ${flavor_id} ${flavor_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack flavor show ${flavor_id} | grep properties | awk -F '|' '{print $3}' Runs the given command in the system and returns the RC and output. Running command 'openstack flavor show fa455d97-2829-4488-b5f7-2c8a1a810e3f | grep properties | awk -F '|' '{print $3}' 2>&1'. ${rc} = 0 ${stdout} = quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:m... ${stdout} Logs the given message with the given level. quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:memory_reservation='512', quota:memory_shares_level='custom', quota:memory_shares_share='20480' ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${properties} = quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:m... ${properties} Logs the given message with the given level. quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:memory_reservation='512', quota:memory_shares_level='custom', quota:memory_shares_share='20480' ${flavor_properties} ${properties} Makes a variable available everywhere within the scope of the current suite. ${flavor_properties} = quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:m... cluster_epa daily epa_02 regression ${rc} echo ${flavor_properties} | grep "cpu_shares_level=custom" Runs the given command in the system and returns the return code. Running command 'echo quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:memory_reservation='512', quota:memory_shares_level='custom', quota:memory_shares_share='20480' | grep "cpu_shares_level=custom" 2>&1'. ${rc} = 0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} echo ${flavor_properties} | grep "disk_io_shares_level=custom" Runs the given command in the system and returns the return code. Running command 'echo quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:memory_reservation='512', quota:memory_shares_level='custom', quota:memory_shares_share='20480' | grep "disk_io_shares_level=custom" 2>&1'. ${rc} = 0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} echo ${flavor_properties} | grep "memory_shares_level=custom" Runs the given command in the system and returns the return code. Running command 'echo quota:cpu_reservation='512', quota:cpu_shares_level='custom', quota:cpu_shares_share='3000', quota:disk_io_shares_level='custom', quota:disk_io_shares_share='1000', quota:memory_limit='2048', quota:memory_reservation='512', quota:memory_shares_level='custom', quota:memory_shares_share='20480' | grep "memory_shares_level=custom" 2>&1'. ${rc} = 0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_epa daily epa_02 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete epa_02-epa_quota_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ | df65fd74-932c-4bbb-8587-0541335e37ac | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.249.227 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_02-epa_quota_test 2>&1'. ${rc} = 0 ${stdout} = epa_02-epa_quota_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_02-epa_quota_test == epa_02-epa_quota_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_02-epa_quota_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_02 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete epa_quota-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep epa_quota-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_02 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete epa_quota-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep epa_quota-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_02 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [EPA-02] Support for additional EPA capabilities. ${created_sdnc_id} ${sdnc_name} ${sdnc_user} ${sdnc_password} ${sdnc_url} ${sdnc_type} Creates an SDNC in OSM. The optional parameters (such as 'switch_dpid' or 'ip-address') are given to this function in name=value format. These parameters will be appended to the 'osm sdnc-create' command with the next syntax: --param_name=param_value Returns the ID of the created SDNC Target. Example of execution: ${sdnc_id}= Create SDNC ${sdnc_name} ${sdnc_user} ${sdnc_password} ${sdnc_url} ${sdnc_type} switch_dpid='{...}' ${osm_sdnc_create_command} osm sdnc-create --name ${sdnc_name} --user ${sdnc_user} --password ${sdnc_password} --url ${sdnc_url} --type ${sdnc_type} Returns the given values which can then be assigned to a variables. ${osm_sdnc_create_command} = osm sdnc-create --name epa_03 --user karaf --password karaf --url http://172.21.248.11:8181 --type onos_vpls ${param} @{optional_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${osm_sdnc_create_command} ${osm_sdnc_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${rc} ${stdout} ${osm_sdnc_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm sdnc-create --name epa_03 --user karaf --password karaf --url http://172.21.248.11:8181 --type onos_vpls 2>&1'. ${rc} = 0 ${stdout} = 76fc0d1c-36b1-4290-b384-d10d487e8d34 ${stdout} Logs the given message with the given level. 76fc0d1c-36b1-4290-b384-d10d487e8d34 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_sdnc_id} = 76fc0d1c-36b1-4290-b384-d10d487e8d34 ${sdnc_id} ${created_sdnc_id} Makes a variable available everywhere within the scope of the current suite. ${sdnc_id} = 76fc0d1c-36b1-4290-b384-d10d487e8d34 ${sdnc_enabled_max_wait_time} ${sdnc_enabled_pol_time} Check for SDNC ${sdnc_id} Runs the specified keyword and retries if it fails. ${sdnc_id} ${rc} ${stdout} osm sdnc-show ${sdnc_id} | grep -io ENABLED Runs the given command in the system and returns the RC and output. Running command 'osm sdnc-show 76fc0d1c-36b1-4290-b384-d10d487e8d34 | grep -io ENABLED 2>&1'. ${rc} = 0 ${stdout} = ENABLED ${stdout} Logs the given message with the given level. ENABLED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_epa daily epa_03 regression ${sdnc_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${sdnc_status_max_wait_time} ${sdnc_status_pol_time} Check If SDNC Is Available ${sdnc_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} Runs the specified keyword and retries if it fails. ${sdnc_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_sdnc_status sdnc_id=${sdnc_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} sdnc_id=76fc0d1c-36b1-4290-b384-d10d487e8d34 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = sdnc_id=76fc0d1c-36b1-4290-b384-d10d487e8d34 ${param_name} = sdnc_id ${param_value} = 76fc0d1c-36b1-4290-b384-d10d487e8d34 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="76fc0d1c-36b1-4290-b384-d10d487e8d34", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2276fc0d1c-36b1-4290-b384-d10d487e8d34%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2276fc0d1c-36b1-4290-b384-d10d487e8d34%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2276fc0d1c-36b1-4290-b384-d10d487e8d34%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 02:53:46 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_sdnc_status not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${metric} 1 msg=SDNC '${sdnc_id}' is not active values=false Fails if objects are unequal after converting them to integers. ${sdnc_id} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} osm_sdnc_status sdnc_id=${sdnc_id} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} sdnc_id=76fc0d1c-36b1-4290-b384-d10d487e8d34 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = sdnc_id=76fc0d1c-36b1-4290-b384-d10d487e8d34 ${param_name} = sdnc_id ${param_value} = 76fc0d1c-36b1-4290-b384-d10d487e8d34 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="76fc0d1c-36b1-4290-b384-d10d487e8d34", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2276fc0d1c-36b1-4290-b384-d10d487e8d34%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2276fc0d1c-36b1-4290-b384-d10d487e8d34%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2276fc0d1c-36b1-4290-b384-d10d487e8d34%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 02:54:46 GMT', 'Content-Length': '230'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_sdnc_status","instance":"mon:8000","job":"mon_exporter","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","sdnc_id":"76fc0d1c-36b1-4290-b384-d10d487e8d34"},"value":[1711594486.52,"1"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_sdnc_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_sdnc_status', 'instance': 'mon:8000', 'job': 'mon_exporter', 'project_id': 'cb9b4047-c325-4482-bfb0-0566c86b4c50', 'sdnc_id': '76fc0d1c-36b1-4290-b384-d10d487e8d34'}, 'va... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric} = 1 ${metric} 1 msg=SDNC '${sdnc_id}' is not active values=false Fails if objects are unequal after converting them to integers. cluster_epa daily epa_03 regression ${sdnc_name} ${rc} ${stdout} Run and Return RC and Output osm sdnc-delete ${sdnc_name} Runs the keyword and continues execution even if a failure occurs. osm sdnc-delete ${sdnc_name} Runs the given command in the system and returns the RC and output. Running command 'osm sdnc-delete epa_03 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check for SDNC To Be Deleted ${sdnc_name} Runs the specified keyword and retries if it fails. ${sdnc_name} ${rc} ${stdout} osm sdnc-list | awk '{print $2}' | grep ${sdnc_name} Runs the given command in the system and returns the RC and output. Running command 'osm sdnc-list | awk '{print $2}' | grep epa_03 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${sdnc_name} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_03 regression Delete Basic SDNC Runs the given keyword with the given arguments and ignores possible error. No keyword with name 'Delete Basic SDNC' found. Did you try using keyword 'RequestsLibrary.DELETE' and forgot to use enough whitespace between keyword and arguments? [EPA-03] CRUD operations on SDNC accounts. OVERRIDES Deletes the specified environment variable. Environment variable 'OVERRIDES' does not exist. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/epa_1vm_sriov_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/epa_1vm_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_1vm_sriov_vnf Package created: /robot-systest/osm-packages/epa_1... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/epa_1vm_sriov_vnf Validation OK List of charms in the descriptor: set() Adding File: epa_1vm_sriov_vnf Package created: /robot-systest/osm-packages/epa_1vm_sriov_vnf.tar.gz Uploading package /robot-systest/osm-packages/epa_1vm_sriov_vnf.tar.gz 03a9e1f3-8500-4427-9e4b-52d464ce80a6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 03a9e1f3-8500-4427-9e4b-52d464ce80a6 cluster_epa daily epa_04 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/epa_1vm_sriov_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/epa_1vm_sriov_ns Validation OK List of charms in the descriptor: set() Adding File: epa_1vm_sriov_ns Package created: /robot-systest/osm-packages/epa_1vm... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/epa_1vm_sriov_ns Validation OK List of charms in the descriptor: set() Adding File: epa_1vm_sriov_ns Package created: /robot-systest/osm-packages/epa_1vm_sriov_ns.tar.gz 88bd9672-bc3e-41c4-8649-193ea235e053 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 88bd9672-bc3e-41c4-8649-193ea235e053 cluster_epa daily epa_04 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${EMPTY} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} , {name: datanet, ip-profile: {ip-version: ipv4, subnet-address: "192.168.100.0/24"}, vnfd-connection-point-ref: [ {member-vnf-index-ref: "... ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name epa_04 --nsd_name epa_1vm_sriov-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} , {name: datanet, ip-profile: {ip-version: ipv4, subnet-address: "192.168.100.0/24"}, vnfd-connection-point-ref: [ {member-vnf-index-ref: "vnf1", vnfd-connection-point-ref: vnf-data-ext, ip-address: "192.168.100.11"}, {member-vnf-index-ref: "vnf2", vnfd-connection-point-ref: vnf-data-ext, ip-address: "192.168.100.22"}]} ] }' 2>&1'. ${rc} = 0 ${stdout} = 2d692b14-d2fc-4898-8707-595aaab3dc34 ${stdout} Logs the given message with the given level. 2d692b14-d2fc-4898-8707-595aaab3dc34 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2d692b14-d2fc-4898-8707-595aaab3dc34 ${ns_id} Logs the given message with the given level. 2d692b14-d2fc-4898-8707-595aaab3dc34 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | ad3cb0db-df60-4a2e-b999-685d678be0b7 | basic_19-vnf-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | ddf71c56-c404-437d-994c-04a16f62c6de | basic_19-vnf-mgmtVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | BUILDING | INSTANTIATING (08019504-9a4a-47fb-bc90-23394ee4a1d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | BUILDING | INSTANTIATING (08019504-9a4a-47fb-bc90-23394ee4a1d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | 350ed90c-9d3d-402d-97a9-7623aae30e25 | basic_21-vnf-several-volu-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 4684c623-3959-4718-8e0e-c08b55007280 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.97 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3cd2223b-2383-4b82-8daa-e449f35eb0b8 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.186 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | BUILDING | INSTANTIATING (08019504-9a4a-47fb-bc90-23394ee4a1d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | BUILDING | INSTANTIATING (08019504-9a4a-47fb-bc90-23394ee4a1d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | 350ed90c-9d3d-402d-97a9-7623aae30e25 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | several_volumes-VM-flv | | 4684c623-3959-4718-8e0e-c08b55007280 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.97 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3cd2223b-2383-4b82-8daa-e449f35eb0b8 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.186 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | BUILDING | INSTANTIATING (08019504-9a4a-47fb-bc90-23394ee4a1d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | BUILDING | INSTANTIATING (08019504-9a4a-47fb-bc90-23394ee4a1d3) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | 350ed90c-9d3d-402d-97a9-7623aae30e25 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | several_volumes-VM-flv | | 4684c623-3959-4718-8e0e-c08b55007280 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.97 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3cd2223b-2383-4b82-8daa-e449f35eb0b8 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.186 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | 350ed90c-9d3d-402d-97a9-7623aae30e25 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | several_volumes-VM-flv | | 4684c623-3959-4718-8e0e-c08b55007280 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.97 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3cd2223b-2383-4b82-8daa-e449f35eb0b8 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.186 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="epa_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | epa_04 | 2d692b14-d2fc-4898-8707-595aaab3dc34 | 2024-03-28T02:54:53 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 2d692b14-d2fc-4898-8707-595aaab3dc34 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2d692b14-d2fc-4898-8707-595aaab3dc34 cluster_epa daily epa_04 regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ip} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 2d692b14-d2fc-4898-8707-595aaab3dc34 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.186 ${stdout} Logs the given message with the given level. 172.21.249.186 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.249.186 ${ip_mgmt_1} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_1} = 172.21.249.186 ${ip_mgmt_1} Logs the given message with the given level. 172.21.249.186 ${ip} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep 2d692b14-d2fc-4898-8707-595aaab3dc34 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.97 ${stdout} Logs the given message with the given level. 172.21.249.97 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.249.97 ${ip_mgmt_2} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_2} = 172.21.249.97 ${ip_mgmt_2} Logs the given message with the given level. 172.21.249.97 cluster_epa daily epa_04 regression ${ip_mgmt_1} msg=IP address of the data VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. 30 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Wait for SSH daemon to be up ${stdout} ${ip_mgmt_1} ${username} ${password} ${EMPTY} ip addr ; ping -c 5 ${datanet_ip2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.186:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:57:10 UTC 2024 System load: 0.81 Processes: 128 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.186 Swap usage: 0% IPv4 address for ens6: 192.168.100.11 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@epa-04-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.100.22'. Command exited with return code 0. ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:93:83:a8 brd ff:ff:ff:ff:ff:ff inet 172.21.249.186/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fe93:83a8/64 scope link valid_lft forever preferred_lft forever 3: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:0f:ee:64 brd ff:ff:ff:ff:ff:ff inet 192.168.100.11/24 brd 192.168.100.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe0f:ee64/64 scope link valid_lft forever preferred_lft forever PING 192.168.100.22 (192.168.100.22) 56(84) bytes of data. 64 bytes from 192.168.100.22: icmp_seq=1 ttl=64 time=1.13 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.237 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.243 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.870 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.183 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4057ms rtt min/avg/max/mdev = 0.183/0.531/1.125/0.389 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:93:83:a8 brd ff:ff:ff:ff:ff:ff inet 172.21.249.186/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fe93:83a8/64 scope link valid_lft forever preferred_lft forever 3: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:0f:ee:64 brd ff:ff:ff:ff:ff:ff inet 192.168.100.11/24 brd 192.168.100.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe0f:ee64/64 scope link valid_lft forever preferred_lft forever PING 192.168.100.22 (192.168.100.22) 56(84) bytes of data. 64 bytes from 192.168.100.22: icmp_seq=1 ttl=64 time=1.13 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.237 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.243 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.870 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.183 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4057ms rtt min/avg/max/mdev = 0.183/0.531/1.125/0.389 ms cluster_epa daily epa_04 regression ${ip_mgmt_2} msg=IP address of the data VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. ${stdout} ${ip_mgmt_2} ${username} ${password} ${EMPTY} ip addr ; ping -c 5 ${datanet_ip1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.97:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 02:57:16 UTC 2024 System load: 0.59 Processes: 127 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.97 Swap usage: 0% IPv4 address for ens6: 192.168.100.22 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@epa-04-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ip addr ; ping -c 5 192.168.100.11'. Command exited with return code 0. ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:63:88:7b brd ff:ff:ff:ff:ff:ff inet 172.21.249.97/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fe63:887b/64 scope link valid_lft forever preferred_lft forever 3: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:96:90:31 brd ff:ff:ff:ff:ff:ff inet 192.168.100.22/24 brd 192.168.100.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe96:9031/64 scope link valid_lft forever preferred_lft forever PING 192.168.100.11 (192.168.100.11) 56(84) bytes of data. 64 bytes from 192.168.100.11: icmp_seq=1 ttl=64 time=0.792 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.157 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=12.1 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.241 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=1.11 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4049ms rtt min/avg/max/mdev = 0.157/2.878/12.096/4.621 ms Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lf... ${stdout} Logs the given message with the given level. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether fa:16:3e:63:88:7b brd ff:ff:ff:ff:ff:ff inet 172.21.249.97/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86300sec preferred_lft 86300sec inet6 fe80::f816:3eff:fe63:887b/64 scope link valid_lft forever preferred_lft forever 3: ens6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether fa:16:3e:96:90:31 brd ff:ff:ff:ff:ff:ff inet 192.168.100.22/24 brd 192.168.100.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe96:9031/64 scope link valid_lft forever preferred_lft forever PING 192.168.100.11 (192.168.100.11) 56(84) bytes of data. 64 bytes from 192.168.100.11: icmp_seq=1 ttl=64 time=0.792 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.157 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=12.1 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.241 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=1.11 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4049ms rtt min/avg/max/mdev = 0.157/2.878/12.096/4.621 ms cluster_epa daily epa_04 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete epa_04 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ | 4684c623-3959-4718-8e0e-c08b55007280 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.97 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3cd2223b-2383-4b82-8daa-e449f35eb0b8 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.186 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 0 ${stdout} = epa_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. epa_04 == epa_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep epa_04 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_04 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete epa_1vm_sriov-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep epa_1vm_sriov-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_04 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete epa_1vm_sriov-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep epa_1vm_sriov-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_epa daily epa_04 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [EPA-04] EPA underlay SR-IOV. ${ram_quota} ram Get a field (ram, cores, ports, etc.) from quota in current project. ${field} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} openstack quota show -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack quota show -c ram -f value 2>&1'. ${rc} = 0 ${stdout} = 327680 ${stdout} Logs the given message with the given level. 327680 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ram_quota} = 327680 ${memory} VM_MEMORY_OVERRIDE default=${default_memory} Returns the value of an environment variable with the given name. ${memory} ${ram_quota} / 1000 Evaluates the given expression in Python and returns the result. ${memory} = 327.68 ${memory} Logs the given message with the given level. 327.68 '%{PACKAGES_FOLDER}/${vnfd_pkg}' virtual-compute-desc.1.virtual-memory.size=${memory} Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - override_fields: String with options to override fields in descriptor, format: "key1.key2...=value[;key3...=value;...]" - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} --override '${override_fields}' Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/simple_2vm_vnf' --override 'virtual-compute-desc.1.virtual-memory.size=327.68' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/simple_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_2vm_vnf Package created: /robot-systest/osm-packages/simple_2vm_... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/simple_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_2vm_vnf Package created: /robot-systest/osm-packages/simple_2vm_vnf.tar.gz Uploading package /robot-systest/osm-packages/simple_2vm_vnf.tar.gz 5fb1cbf5-e914-4705-9f98-0b6de1ee9940 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 5fb1cbf5-e914-4705-9f98-0b6de1ee9940 cluster_main daily fail_01 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/simple_2vm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/simple_2vm_ns Validation OK List of charms in the descriptor: set() Adding File: simple_2vm_ns Package created: /robot-systest/osm-packages/simple_2vm_ns... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/simple_2vm_ns Validation OK List of charms in the descriptor: set() Adding File: simple_2vm_ns Package created: /robot-systest/osm-packages/simple_2vm_ns.tar.gz 0fbe893b-c430-47bc-afde-5aa56390cd52 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 0fbe893b-c430-47bc-afde-5aa56390cd52 cluster_main daily fail_01 regression ${rand} 4 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 6086 ${ns_name} SEPARATOR=_ ${ns_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${ns_name} = fail_01_6086 ${ns_name} Makes a variable available everywhere within the scope of the current suite. ${ns_name} = fail_01_6086 ${ns_name} Logs the given message with the given level. fail_01_6086 ${id} ${ns_name} ${nsd_name} %{VIM_TARGET} --config '${ns_config}' --ssh_keys ${publickey} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name fail_01_6086 --nsd_name simple_2vm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 9da13f07-fc62-4650-979f-c9efd580e9b6 ${stdout} Logs the given message with the given level. 9da13f07-fc62-4650-979f-c9efd580e9b6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 9da13f07-fc62-4650-979f-c9efd580e9b6 ${id} Logs the given message with the given level. 9da13f07-fc62-4650-979f-c9efd580e9b6 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 9da13f07-fc62-4650-979f-c9efd580e9b6 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For Ns Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6de83233-d83b-43c7-acbe-626bb62f5c56 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | f6aeb344-7d02-408c-b9e5-d2339486ecaf | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="fail_01_6086" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | fail_01_6086 | 9da13f07-fc62-4650-979f-c9efd580e9b6 | 2024-03-28T02:58:14 | BUILDING | INSTANTIATING (c415bfcf-de06-4b03-8ec1-48bc56eefa07) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | fail_01_6086 | 9da13f07-fc62-4650-979f-c9efd580e9b6 | 2024-03-28T02:58:14 | BUILDING | INSTANTIATING (c415bfcf-de06-4b03-8ec1-48bc56eefa07) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6de83233-d83b-43c7-acbe-626bb62f5c56 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.249 | ubuntu20.04 | simple_requires-1-1-flv | | f6aeb344-7d02-408c-b9e5-d2339486ecaf | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.129 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="fail_01_6086" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | fail_01_6086 | 9da13f07-fc62-4650-979f-c9efd580e9b6 | 2024-03-28T02:58:14 | BUILDING | INSTANTIATING (c415bfcf-de06-4b03-8ec1-48bc56eefa07) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | fail_01_6086 | 9da13f07-fc62-4650-979f-c9efd580e9b6 | 2024-03-28T02:58:14 | BUILDING | INSTANTIATING (c415bfcf-de06-4b03-8ec1-48bc56eefa07) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | cf79dcf0-812f-4380-9425-ebb8c08990b2 | fail_01_6086-vnf-mgmtVM-0 | ACTIVE | fail_01_6086-internal=192.168.100.16; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 6de83233-d83b-43c7-acbe-626bb62f5c56 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.249 | ubuntu20.04 | simple_requires-1-1-flv | | f6aeb344-7d02-408c-b9e5-d2339486ecaf | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.129 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="fail_01_6086" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ | fail_01_6086 | 9da13f07-fc62-4650-979f-c9efd580e9b6 | 2024-03-28T02:58:14 | BROKEN | IDLE (None) | Operation: INSTANTIATING.c415bfcf- | | | | | | | de06-4b03-8ec1-48bc56eefa07, Stage 2/5: | | | | | | | deployment of KDUs, VMs and execution | | | | | | | environments. | | | | | | | Detail: Deploying at VIM: Error at | | | | | | | create vdu: Forbidden: Quota exceeded | | | | | | | for ram: Requested 335544, but already | | | | | | | used 190464 of 327680 ram (HTTP 403) | | | | | | | (Request-ID: req-d9a3b6d8-df90-4e40-8517 | | | | | | | -97c97362b7c0) | +------------------+--------------------------------------+---------------------+----------+-------------------+------------------------------------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${rc} ${stdout} osm ns-list --filter id="${ns_id}" | grep ${ns_id} | awk '{print $8}' Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter id="9da13f07-fc62-4650-979f-c9efd580e9b6" | grep 9da13f07-fc62-4650-979f-c9efd580e9b6 | awk '{print $8}' 2>&1'. ${rc} = 0 ${stdout} = BROKEN ${stdout} Logs the given message with the given level. BROKEN ${stdout} BROKEN Fails if ``container`` does not contain ``item`` one or more times. ${rc} ${stdout} osm ns-show ${ns_id} --literal | yq .errorDetail Runs the given command in the system and returns the RC and output. Running command 'osm ns-show 9da13f07-fc62-4650-979f-c9efd580e9b6 --literal | yq .errorDetail 2>&1'. ${rc} = 0 ${stdout} = "Deploying at VIM: Error at create vdu: Forbidden: Quota exceeded for ram: Requested 335544, but already used 190464 of 327680 ram (HTTP 403) (Request-ID: req-d9a3b6d8-df90-4e40-8517-97c97362b7c0)" ${stdout} Logs the given message with the given level. "Deploying at VIM: Error at create vdu: Forbidden: Quota exceeded for ram: Requested 335544, but already used 190464 of 327680 ram (HTTP 403) (Request-ID: req-d9a3b6d8-df90-4e40-8517-97c97362b7c0)" ${stdout} Deploying at VIM: Error at create vdu Fails if ``container`` does not contain ``item`` one or more times. cluster_main daily fail_01 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete fail_01_6086 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | cf79dcf0-812f-4380-9425-ebb8c08990b2 | fail_01_6086-vnf-mgmtVM-0 | ACTIVE | fail_01_6086-internal=192.168.100.16; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 6de83233-d83b-43c7-acbe-626bb62f5c56 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.249 | ubuntu20.04 | simple_requires-1-1-flv | | f6aeb344-7d02-408c-b9e5-d2339486ecaf | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.129 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep fail_01_6086 2>&1'. ${rc} = 0 ${stdout} = fail_01_6086 ${stdout} ${ns} Fails if objects are equal after converting them to strings. fail_01_6086 == fail_01_6086 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6de83233-d83b-43c7-acbe-626bb62f5c56 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.249 | ubuntu20.04 | simple_requires-1-1-flv | | f6aeb344-7d02-408c-b9e5-d2339486ecaf | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.129 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep fail_01_6086 2>&1'. ${rc} = 0 ${stdout} = fail_01_6086 ${stdout} ${ns} Fails if objects are equal after converting them to strings. fail_01_6086 == fail_01_6086 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6de83233-d83b-43c7-acbe-626bb62f5c56 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep fail_01_6086 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. ${os_delete_max_wait_time} ${os_delete_pol_time} Check NS Servers In VIM ${ns_name} 0 Runs the specified keyword and retries if it fails. ${ns_name} 0 Check if the number of servers in Openstack by filtering by NS name is as expected. ${ns_name} Verifies that the given item is not empty. Length is 12 ${rc} ${stdout} openstack server list | grep ${ns_name} | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'openstack server list | grep fail_01_6086 | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{servers} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{servers} = [ ] ${n_servers} ${servers} Returns and logs the length of the given item as an integer. Length is 0 ${n_servers} = 0 ${number} ${n_servers} Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> cleanup cluster_main daily fail_01 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete simple_2vm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep simple_2vm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily fail_01 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete simple_2vm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep simple_2vm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily fail_01 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [FAIL-01] A single VNF with 2 VDUs, one of them unallocatable because of resources. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 93bcec1f-3941-485c-9fbc-839ac9626ec9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 93bcec1f-3941-485c-9fbc-839ac9626ec9 cluster_main daily hackfest_basic regression sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_ns Package created: /robot-systest/osm-packages/hackf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_ns Package created: /robot-systest/osm-packages/hackfest_basic_ns.tar.gz a4d51a84-d872-433b-98df-1a9a9d1f3a4f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = a4d51a84-d872-433b-98df-1a9a9d1f3a4f cluster_main daily hackfest_basic regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name hfbasic --nsd_name hackfest_basic-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = a832f70e-848f-441c-8597-0c9c44d7bb52 ${stdout} Logs the given message with the given level. a832f70e-848f-441c-8597-0c9c44d7bb52 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = a832f70e-848f-441c-8597-0c9c44d7bb52 ${ns_id} Logs the given message with the given level. a832f70e-848f-441c-8597-0c9c44d7bb52 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfbasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfbasic | a832f70e-848f-441c-8597-0c9c44d7bb52 | 2024-03-28T02:59:50 | BUILDING | INSTANTIATING (6f29aea9-ec3c-42ba-a9c9-42a80cf5fcf7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfbasic | a832f70e-848f-441c-8597-0c9c44d7bb52 | 2024-03-28T02:59:50 | BUILDING | INSTANTIATING (6f29aea9-ec3c-42ba-a9c9-42a80cf5fcf7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | cbd17122-5f3c-4273-b4c6-e3c9e38c0cdf | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.180 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfbasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfbasic | a832f70e-848f-441c-8597-0c9c44d7bb52 | 2024-03-28T02:59:50 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | cbd17122-5f3c-4273-b4c6-e3c9e38c0cdf | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.180 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfbasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfbasic | a832f70e-848f-441c-8597-0c9c44d7bb52 | 2024-03-28T02:59:50 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = a832f70e-848f-441c-8597-0c9c44d7bb52 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = a832f70e-848f-441c-8597-0c9c44d7bb52 cluster_main daily hackfest_basic regression sanity ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf | grep a832f70e-848f-441c-8597-0c9c44d7bb52 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.180 ${stdout} Logs the given message with the given level. 172.21.249.180 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.180 ${ip_addr} Logs the given message with the given level. 172.21.249.180 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.180 cluster_main daily hackfest_basic regression sanity ${vnf_ip_addr} ${connectivity_max_wait_time} ${connectivity_pol_time} Test Ping Host ${host} Runs the specified keyword and retries if it fails. ${host} Run Ping Parameters: host: IP or name of the host Execution example: Ping Test ${host} ${rc} ${stdout} ping -c 2 -W 1 ${host} Runs the given command in the system and returns the RC and output. Running command 'ping -c 2 -W 1 172.21.249.180 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.180 (172.21.249.180) 56(84) bytes of data. 64 bytes from 172.21.249.180: icmp_seq=1 ttl=63 time=2.24 ms 64 bytes from 172.21.249.180: icmp_seq=2 ttl=63 time=0.481 ms --- 172.21.249.18... ${stdout} Logs the given message with the given level. PING 172.21.249.180 (172.21.249.180) 56(84) bytes of data. 64 bytes from 172.21.249.180: icmp_seq=1 ttl=63 time=2.24 ms 64 bytes from 172.21.249.180: icmp_seq=2 ttl=63 time=0.481 ms --- 172.21.249.180 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.481/1.361/2.241/0.880 ms ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily hackfest_basic regression sanity 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.180:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 03:01:01 UTC 2024 System load: 0.22 Processes: 106 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.180 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfbasic-vnf-hackfest-basic-vm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_main daily hackfest_basic regression sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete hfbasic 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | cbd17122-5f3c-4273-b4c6-e3c9e38c0cdf | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.180 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfbasic 2>&1'. ${rc} = 0 ${stdout} = hfbasic ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfbasic == hfbasic ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfbasic 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_basic regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_basic regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_basic regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HACKFEST-BASIC] Basic NS with a single-VDU VNF '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_cloudinit_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_cloudinit_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_cloudinit_vnf Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_cloudinit_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_cloudinit_vnf Package created: /robot-systest/osm-packages/hackfest_cloudinit_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_cloudinit_vnf.tar.gz 7f2622cf-cc6f-4691-8c7b-ea2606d08449 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 7f2622cf-cc6f-4691-8c7b-ea2606d08449 cluster_main daily hackfest_cloudinit regression sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_cloudinit_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_cloudinit_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_cloudinit_ns Package created: /robot-systest/osm-packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_cloudinit_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_cloudinit_ns Package created: /robot-systest/osm-packages/hackfest_cloudinit_ns.tar.gz cabd1334-4d6d-47cf-9043-13e4a3957b28 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = cabd1334-4d6d-47cf-9043-13e4a3957b28 cluster_main daily hackfest_cloudinit regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${EMPTY} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name hfcloudinit --nsd_name hackfest_cloudinit-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = aa06785e-d7a1-4574-b1eb-de2f11ad99b3 ${stdout} Logs the given message with the given level. aa06785e-d7a1-4574-b1eb-de2f11ad99b3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = aa06785e-d7a1-4574-b1eb-de2f11ad99b3 ${ns_id} Logs the given message with the given level. aa06785e-d7a1-4574-b1eb-de2f11ad99b3 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfcloudinit | aa06785e-d7a1-4574-b1eb-de2f11ad99b3 | 2024-03-28T03:01:37 | BUILDING | INSTANTIATING (3ca5d7d0-fc99-4c94-86bd-0709c5de13ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfcloudinit | aa06785e-d7a1-4574-b1eb-de2f11ad99b3 | 2024-03-28T03:01:37 | BUILDING | INSTANTIATING (3ca5d7d0-fc99-4c94-86bd-0709c5de13ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 0f5a1669-cb87-4b71-8272-7f309897872b | hfcloudinit-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | ec1cee51-dac0-44a0-bde1-21ba36abd466 | hfcloudinit-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 2af33b59-3325-4c5c-9d45-16e3140c148f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.125.212; hfcloudinit-internal=192.168.229.19 | ubuntu20.04 | simple_requires-1-1-flv | | c5e3f87f-6f14-45d4-95f8-2084d5ae5984 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.229.243; osm-ext=172.21.249.62 | ubuntu20.04 | simple_requires-1-1-flv | | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfcloudinit | aa06785e-d7a1-4574-b1eb-de2f11ad99b3 | 2024-03-28T03:01:37 | BUILDING | INSTANTIATING (3ca5d7d0-fc99-4c94-86bd-0709c5de13ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfcloudinit | aa06785e-d7a1-4574-b1eb-de2f11ad99b3 | 2024-03-28T03:01:37 | BUILDING | INSTANTIATING (3ca5d7d0-fc99-4c94-86bd-0709c5de13ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 0f5a1669-cb87-4b71-8272-7f309897872b | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.125.230; hfcloudinit-internal=192.168.77.173 | ubuntu20.04 | simple_requires-1-1-flv | | ec1cee51-dac0-44a0-bde1-21ba36abd466 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.77.240; osm-ext=172.21.249.10 | ubuntu20.04 | simple_requires-1-1-flv | | 2af33b59-3325-4c5c-9d45-16e3140c148f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.125.212; hfcloudinit-internal=192.168.229.19 | ubuntu20.04 | simple_requires-1-1-flv | | c5e3f87f-6f14-45d4-95f8-2084d5ae5984 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.229.243; osm-ext=172.21.249.62 | ubuntu20.04 | simple_requires-1-1-flv | | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfcloudinit | aa06785e-d7a1-4574-b1eb-de2f11ad99b3 | 2024-03-28T03:01:37 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 0f5a1669-cb87-4b71-8272-7f309897872b | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.125.230; hfcloudinit-internal=192.168.77.173 | ubuntu20.04 | simple_requires-1-1-flv | | ec1cee51-dac0-44a0-bde1-21ba36abd466 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.77.240; osm-ext=172.21.249.10 | ubuntu20.04 | simple_requires-1-1-flv | | 2af33b59-3325-4c5c-9d45-16e3140c148f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.125.212; hfcloudinit-internal=192.168.229.19 | ubuntu20.04 | simple_requires-1-1-flv | | c5e3f87f-6f14-45d4-95f8-2084d5ae5984 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.229.243; osm-ext=172.21.249.62 | ubuntu20.04 | simple_requires-1-1-flv | | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfcloudinit" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfcloudinit | aa06785e-d7a1-4574-b1eb-de2f11ad99b3 | 2024-03-28T03:01:37 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = aa06785e-d7a1-4574-b1eb-de2f11ad99b3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = aa06785e-d7a1-4574-b1eb-de2f11ad99b3 cluster_main daily hackfest_cloudinit regression sanity ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep aa06785e-d7a1-4574-b1eb-de2f11ad99b3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.62 ${stdout} Logs the given message with the given level. 172.21.249.62 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.62 ${ip_addr} Logs the given message with the given level. 172.21.249.62 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.62 cluster_main daily hackfest_cloudinit regression sanity 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_ip_addr} ${username} ${password} ${EMPTY} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 03:03:20 UTC 2024 System load: 0.64 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.62 Swap usage: 0% IPv4 address for ens4: 192.168.229.243 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfcloudinit-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_main daily hackfest_cloudinit regression sanity ${stdout} ${vnf_ip_addr} ${username} ${password} ${EMPTY} sudo cat /root/helloworld.txt ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 03:03:23 UTC 2024 System load: 0.64 Processes: 104 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.62 Swap usage: 0% IPv4 address for ens4: 192.168.229.243 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 03:03:21 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfcloudinit-vnf1-mgmtvm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo cat /root/helloworld.txt'. Command exited with return code 0. ${stdout} = # My new helloworld file ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. # My new helloworld file Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = # My new helloworld file ${stdout} Logs the given message with the given level. # My new helloworld file cluster_main daily hackfest_cloudinit regression sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete hfcloudinit 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 0f5a1669-cb87-4b71-8272-7f309897872b | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.125.230; hfcloudinit-internal=192.168.77.173 | ubuntu20.04 | simple_requires-1-1-flv | | ec1cee51-dac0-44a0-bde1-21ba36abd466 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.77.240; osm-ext=172.21.249.10 | ubuntu20.04 | simple_requires-1-1-flv | | 2af33b59-3325-4c5c-9d45-16e3140c148f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.125.212; hfcloudinit-internal=192.168.229.19 | ubuntu20.04 | simple_requires-1-1-flv | | c5e3f87f-6f14-45d4-95f8-2084d5ae5984 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.229.243; osm-ext=172.21.249.62 | ubuntu20.04 | simple_requires-1-1-flv | | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfcloudinit 2>&1'. ${rc} = 0 ${stdout} = hfcloudinit ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfcloudinit == hfcloudinit ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 0f5a1669-cb87-4b71-8272-7f309897872b | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-internal=192.168.77.173 | ubuntu20.04 | simple_requires-1-1-flv | | ec1cee51-dac0-44a0-bde1-21ba36abd466 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.77.240; osm-ext=172.21.249.10 | ubuntu20.04 | simple_requires-1-1-flv | | 2af33b59-3325-4c5c-9d45-16e3140c148f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | c5e3f87f-6f14-45d4-95f8-2084d5ae5984 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | simple_requires-1-1-flv | | 98c8eba4-682f-4e42-9a85-d23d368eadf5 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.67 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfcloudinit 2>&1'. ${rc} = 0 ${stdout} = hfcloudinit ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfcloudinit == hfcloudinit ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.123; osm-ext=172.21.248.133 | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.59; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfcloudinit 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_cloudinit regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_cloudinit-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_cloudinit-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_cloudinit regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_cloudinit-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_cloudinit-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_cloudinit regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HACKFEST-CLOUDINIT] Basic NS with two multi-VDU VNF with cloudinit '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_multivdu_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_multivdu_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_vnf Package created: /robot-systest/osm-packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_multivdu_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_vnf Package created: /robot-systest/osm-packages/hackfest_multivdu_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_multivdu_vnf.tar.gz 6d96b576-7f80-4988-8fc1-0160a10de734 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 6d96b576-7f80-4988-8fc1-0160a10de734 cluster_main daily hackfest_multivdu regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_multivdu_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_multivdu_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_ns Package created: /robot-systest/osm-packages... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_multivdu_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_multivdu_ns Package created: /robot-systest/osm-packages/hackfest_multivdu_ns.tar.gz a4909d76-e6b8-4fb7-85c8-b1856c1d92d4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = a4909d76-e6b8-4fb7-85c8-b1856c1d92d4 cluster_main daily hackfest_multivdu regression ${status} ${message} Variable Should Exist ${publickey} Runs the given keyword with the given arguments and ignores possible error. ${publickey} Fails unless the given variable exists within the current scope. ${status} = PASS ${message} = None "${status}" == "FAIL" Set Global Variable ${publickey} ${EMPTY} Runs the given keyword with the given arguments, if ``condition`` is true. ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name hfmultivdu --nsd_name hackfest_multivdu-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 2796f2f1-1c1f-40f2-ab07-df871c5cc033 ${stdout} Logs the given message with the given level. 2796f2f1-1c1f-40f2-ab07-df871c5cc033 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2796f2f1-1c1f-40f2-ab07-df871c5cc033 ${ns_id} Logs the given message with the given level. 2796f2f1-1c1f-40f2-ab07-df871c5cc033 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.123; osm-ext=172.21.248.133 | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.59; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfmultivdu | 2796f2f1-1c1f-40f2-ab07-df871c5cc033 | 2024-03-28T03:04:15 | BUILDING | INSTANTIATING (93d83f26-dc8f-4e20-ab7a-b20ee7575b30) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfmultivdu | 2796f2f1-1c1f-40f2-ab07-df871c5cc033 | 2024-03-28T03:04:15 | BUILDING | INSTANTIATING (93d83f26-dc8f-4e20-ab7a-b20ee7575b30) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------------------+ | b5d46ee1-e453-4592-bb59-56db7ed426df | hfmultivdu-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 27704397-eb11-43fe-95d0-2ec383e5465b | hfmultivdu-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | c0fe5fc3-6b4c-4ed0-ad18-2da42426cd6b | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 91c8f4ef-e3a7-4dd5-b7af-6efaa869556d | hfmultivdu-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 4e48bf58-0087-49cd-a4dc-7cc4835e48d5 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.120.117; osm-ext=172.21.248.226 | ubuntu20.04 | simple_requires-1-1-flv | | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.123; osm-ext=172.21.248.133 | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.59; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfmultivdu | 2796f2f1-1c1f-40f2-ab07-df871c5cc033 | 2024-03-28T03:04:15 | BUILDING | INSTANTIATING (93d83f26-dc8f-4e20-ab7a-b20ee7575b30) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | hfmultivdu | 2796f2f1-1c1f-40f2-ab07-df871c5cc033 | 2024-03-28T03:04:15 | BUILDING | INSTANTIATING (93d83f26-dc8f-4e20-ab7a-b20ee7575b30) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | b5d46ee1-e453-4592-bb59-56db7ed426df | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.217.196; hfmultivdu-internal=192.168.84.85 | ubuntu20.04 | simple_requires-1-1-flv | | 27704397-eb11-43fe-95d0-2ec383e5465b | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.84.221; osm-ext=172.21.249.230 | ubuntu20.04 | simple_requires-1-1-flv | | c0fe5fc3-6b4c-4ed0-ad18-2da42426cd6b | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 91c8f4ef-e3a7-4dd5-b7af-6efaa869556d | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.217.90; hfmultivdu-internal=192.168.120.212 | ubuntu20.04 | simple_requires-1-1-flv | | 4e48bf58-0087-49cd-a4dc-7cc4835e48d5 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.120.117; osm-ext=172.21.248.226 | ubuntu20.04 | simple_requires-1-1-flv | | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.123; osm-ext=172.21.248.133 | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.59; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfmultivdu | 2796f2f1-1c1f-40f2-ab07-df871c5cc033 | 2024-03-28T03:04:15 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | b5d46ee1-e453-4592-bb59-56db7ed426df | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.217.196; hfmultivdu-internal=192.168.84.85 | ubuntu20.04 | simple_requires-1-1-flv | | 27704397-eb11-43fe-95d0-2ec383e5465b | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.84.221; osm-ext=172.21.249.230 | ubuntu20.04 | simple_requires-1-1-flv | | c0fe5fc3-6b4c-4ed0-ad18-2da42426cd6b | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 91c8f4ef-e3a7-4dd5-b7af-6efaa869556d | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.217.90; hfmultivdu-internal=192.168.120.212 | ubuntu20.04 | simple_requires-1-1-flv | | 4e48bf58-0087-49cd-a4dc-7cc4835e48d5 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.120.117; osm-ext=172.21.248.226 | ubuntu20.04 | simple_requires-1-1-flv | | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.123; osm-ext=172.21.248.133 | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.59; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="hfmultivdu" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | hfmultivdu | 2796f2f1-1c1f-40f2-ab07-df871c5cc033 | 2024-03-28T03:04:15 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 2796f2f1-1c1f-40f2-ab07-df871c5cc033 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2796f2f1-1c1f-40f2-ab07-df871c5cc033 ${wait_guard_for_vm_boot} Waiting for VM's daemons to be up and running Pauses the test executed for the given time. Slept 50 seconds Waiting for VM's daemons to be up and running cluster_main daily hackfest_multivdu regression ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 2796f2f1-1c1f-40f2-ab07-df871c5cc033 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.226 ${stdout} Logs the given message with the given level. 172.21.248.226 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.248.226 ${ip_addr} Logs the given message with the given level. 172.21.248.226 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.226 cluster_main daily hackfest_multivdu regression ${vnf_ip_addr} ${connectivity_max_wait_time} ${connectivity_pol_time} Test Ping Host ${host} Runs the specified keyword and retries if it fails. ${host} Run Ping Parameters: host: IP or name of the host Execution example: Ping Test ${host} ${rc} ${stdout} ping -c 2 -W 1 ${host} Runs the given command in the system and returns the RC and output. Running command 'ping -c 2 -W 1 172.21.248.226 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.226 (172.21.248.226) 56(84) bytes of data. 64 bytes from 172.21.248.226: icmp_seq=1 ttl=63 time=2.97 ms 64 bytes from 172.21.248.226: icmp_seq=2 ttl=63 time=0.736 ms --- 172.21.248.22... ${stdout} Logs the given message with the given level. PING 172.21.248.226 (172.21.248.226) 56(84) bytes of data. 64 bytes from 172.21.248.226: icmp_seq=1 ttl=63 time=2.97 ms 64 bytes from 172.21.248.226: icmp_seq=2 ttl=63 time=0.736 ms --- 172.21.248.226 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.736/1.852/2.968/1.116 ms ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily hackfest_multivdu regression ${status} ${message} Variable Should Exist ${privatekey} Runs the given keyword with the given arguments and ignores possible error. ${privatekey} Fails unless the given variable exists within the current scope. ${status} = PASS ${message} = None "${status}" == "FAIL" Set Global Variable ${privatekey} ${EMPTY} Runs the given keyword with the given arguments, if ``condition`` is true. ${vnf_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.226:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 03:06:19 UTC 2024 System load: 0.21 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.248.226 Swap usage: 0% IPv4 address for ens4: 192.168.120.117 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@hfmultivdu-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_main daily hackfest_multivdu regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ | 0d6eb092-ae08-44a6-a59a-b9444c0082bb | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | b5d46ee1-e453-4592-bb59-56db7ed426df | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.217.196; hfmultivdu-internal=192.168.84.85 | ubuntu20.04 | simple_requires-1-1-flv | | 27704397-eb11-43fe-95d0-2ec383e5465b | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.84.221; osm-ext=172.21.249.230 | ubuntu20.04 | simple_requires-1-1-flv | | 91c8f4ef-e3a7-4dd5-b7af-6efaa869556d | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.217.90; hfmultivdu-internal=192.168.120.212 | ubuntu20.04 | simple_requires-1-1-flv | | 4e48bf58-0087-49cd-a4dc-7cc4835e48d5 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.120.117; osm-ext=172.21.248.226 | ubuntu20.04 | simple_requires-1-1-flv | | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.123; osm-ext=172.21.248.133 | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.59; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = hfmultivdu ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfmultivdu == hfmultivdu ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+----------------------------------------------------------------+-------------+-------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+----------------------------------------------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+----------------------------------------------------------------+-------------+-----------------------------------------------------+ | 0d6eb092-ae08-44a6-a59a-b9444c0082bb | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.18 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | b5d46ee1-e453-4592-bb59-56db7ed426df | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.84.85 | ubuntu20.04 | simple_requires-1-1-flv | | 27704397-eb11-43fe-95d0-2ec383e5465b | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.84.221; osm-ext=172.21.249.230 | ubuntu20.04 | simple_requires-1-1-flv | | 91c8f4ef-e3a7-4dd5-b7af-6efaa869556d | hfmultivdu-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 4e48bf58-0087-49cd-a4dc-7cc4835e48d5 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | eea7a788-2c6c-4683-bb21-32399ffe5eec | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu18.04 | simple_requires-1-1-flv | | 6f557eba-3114-432b-a88a-ae8d764721a9 | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.228.59; osm-ext=172.21.249.20 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+----------------------------------------------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 0 ${stdout} = hfmultivdu ${stdout} ${ns} Fails if objects are equal after converting them to strings. hfmultivdu == hfmultivdu ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 0d6eb092-ae08-44a6-a59a-b9444c0082bb | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.18 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep hfmultivdu 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_multivdu regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_multivdu-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_multivdu-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_multivdu regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_multivdu-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_multivdu-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_main daily hackfest_multivdu regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HACKFEST-MULTIVDU] Basic NS with two multi-VDU VNF '%{PACKAGES_FOLDER}/${vnfd_charm_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz c6a8464f-e99c-405f-9177-a7b0c8e09961 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = c6a8464f-e99c-405f-9177-a7b0c8e09961 '%{PACKAGES_FOLDER}/${vnfd_volumes_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/several_volumes_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/s... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/several_volumes_vnf.tar.gz Uploading package /robot-systest/osm-packages/several_volumes_vnf.tar.gz 002750c6-c9f8-4621-b5d2-e1aaf0320cab ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 002750c6-c9f8-4621-b5d2-e1aaf0320cab cluster_heal daily heal_01 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/volumes_nativecharm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/volumes_nativecharm_ns Validation OK List of charms in the descriptor: set() Adding File: volumes_nativecharm_ns Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/volumes_nativecharm_ns Validation OK List of charms in the descriptor: set() Adding File: volumes_nativecharm_ns Package created: /robot-systest/osm-packages/volumes_nativecharm_ns.tar.gz 228b70e4-5712-4753-a935-b8309e478219 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 228b70e4-5712-4753-a935-b8309e478219 cluster_heal daily heal_01 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name heal_01 --nsd_name volumes_nativecharm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = bed7b348-4421-4860-bbc5-efa6f9e9f5c8 ${stdout} Logs the given message with the given level. bed7b348-4421-4860-bbc5-efa6f9e9f5c8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = bed7b348-4421-4860-bbc5-efa6f9e9f5c8 ${ns_id} Logs the given message with the given level. bed7b348-4421-4860-bbc5-efa6f9e9f5c8 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 0d6eb092-ae08-44a6-a59a-b9444c0082bb | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.18 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | cc31dc48-fec5-476c-9a9b-dd22827e6a39 | basic_29-vnf-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 6a584857-aa9b-4341-82b6-ad99554e8bc2 | basic_29-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | cc31dc48-fec5-476c-9a9b-dd22827e6a39 | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::e3 | ubuntu20.04 | simple_requires-1-1-flv | | 6a584857-aa9b-4341-82b6-ad99554e8bc2 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::27; osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | cc31dc48-fec5-476c-9a9b-dd22827e6a39 | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::e3 | ubuntu20.04 | simple_requires-1-1-flv | | 6a584857-aa9b-4341-82b6-ad99554e8bc2 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::27; osm-ext=172.21.249.249 | ubuntu20.04 | simple_requires-1-1-flv | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | b2e0a171-ba0d-4901-9c97-e8b5a20b999c | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c3b62daa-dcad-4156-8daf-2740a69ec9b1 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::210; basic_30-datanet2=192.168.20.4; basic_30-datanet3=192.168.30.160; osm-ext=172.21.248.200 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | BUILDING | INSTANTIATING (1fe7c880-37b0-4620-b63f-4a61643fe18a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | b2e0a171-ba0d-4901-9c97-e8b5a20b999c | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::74; basic_30-datanet2=192.168.20.162; basic_30-datanet3=192.168.30.200; osm-ext=172.21.248.105 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c3b62daa-dcad-4156-8daf-2740a69ec9b1 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::210; basic_30-datanet2=192.168.20.4; basic_30-datanet3=192.168.30.160; osm-ext=172.21.248.200 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | b2e0a171-ba0d-4901-9c97-e8b5a20b999c | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::74; basic_30-datanet2=192.168.20.162; basic_30-datanet3=192.168.30.200; osm-ext=172.21.248.105 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c3b62daa-dcad-4156-8daf-2740a69ec9b1 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::210; basic_30-datanet2=192.168.20.4; basic_30-datanet3=192.168.30.160; osm-ext=172.21.248.200 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 3fa0bc66-d384-4d98-a770-54f253e530fc | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_01" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_01 | bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | 2024-03-28T03:07:14 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = bed7b348-4421-4860-bbc5-efa6f9e9f5c8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = bed7b348-4421-4860-bbc5-efa6f9e9f5c8 cluster_heal daily heal_01 ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${id} ${ns_name} ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. cleanup cluster_heal daily heal_01 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 41d0d35f-0577-4994-a57c-9ea11b010ef4 ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 41d0d35f-0577-4994-a57c-9ea11b010ef4 | ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 41d0d35f-0577-4994-a57c-9ea11b010ef4 1: ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e @{vnf_id_list} = [ 41d0d35f-0577-4994-a57c-9ea11b010ef4 | ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ] ${vnf_id_list} Logs the given message with the given level. ['41d0d35f-0577-4994-a57c-9ea11b010ef4', 'ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e'] ${vnf_id} @{vnf_id_list} 41d0d35f-0577-4994-a57c-9ea11b010ef4 ${vnf_id} Logs the given message with the given level. 41d0d35f-0577-4994-a57c-9ea11b010ef4 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 41d0d35f-0577-4994-a57c-9ea11b010ef4 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 3fa0bc66-d384-4d98-a770-54f253e530fc ${stdout} Logs the given message with the given level. 3fa0bc66-d384-4d98-a770-54f253e530fc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 3fa0bc66-d384-4d98-a770-54f253e530fc @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 3fa0bc66-d384-4d98-a770-54f253e530fc ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ${vnf_id} Logs the given message with the given level. ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 ${stdout} Logs the given message with the given level. 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 70ef8530-2cfa-499f-b901-07758cbca691 | f7c96a0b-7957-4228-9efa-357a85bd79e1 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 3fa0bc66-d384-4d98-a770-54f253e530fc ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 3fa0bc66-d384-4d98-a770-54f253e530fc -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${stdout} Logs the given message with the given level. [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['b074e321-eb93-4329-b38b-015e6758d64e'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 70ef8530-2cfa-499f-b901-07758cbca691 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 70ef8530-2cfa-499f-b901-07758cbca691 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. f7c96a0b-7957-4228-9efa-357a85bd79e1 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show f7c96a0b-7957-4228-9efa-357a85bd79e1 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 3fa0bc66-d384-4d98-a770-54f253e530fc 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 @{vim_volumes} Logs the given messages as separate entries using the INFO level. b074e321-eb93-4329-b38b-015e6758d64e cluster_heal daily heal_01 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${ip_addr} ${ns_id} ${vnf_several_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 19 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=several_volumes_vnf | grep bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.215 ${stdout} Logs the given message with the given level. 172.21.249.215 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.215 ${ip_addr} Logs the given message with the given level. 172.21.249.215 ${vnf_volumes_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_ip_addr} = 172.21.249.215 ${vnf_id} ${ns_id} ${vnf_several_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 19 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=several_volumes_vnf | grep bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 41d0d35f-0577-4994-a57c-9ea11b010ef4 ${stdout} Logs the given message with the given level. 41d0d35f-0577-4994-a57c-9ea11b010ef4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 41d0d35f-0577-4994-a57c-9ea11b010ef4 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = 41d0d35f-0577-4994-a57c-9ea11b010ef4 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 41d0d35f-0577-4994-a57c-9ea11b010ef4 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 3fa0bc66-d384-4d98-a770-54f253e530fc ${stdout} Logs the given message with the given level. 3fa0bc66-d384-4d98-a770-54f253e530fc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 3fa0bc66-d384-4d98-a770-54f253e530fc ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 3fa0bc66-d384-4d98-a770-54f253e530fc ${vdu_volumes_id} Logs the given message with the given level. 3fa0bc66-d384-4d98-a770-54f253e530fc @{volumes_ip_list} ${vnf_volumes_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 41d0d35f-0577-4994-a57c-9ea11b010ef4 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.215 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.215 ] @{volumes_ip_list} = [ 172.21.249.215 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.249.215 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.249.215 cluster_heal daily heal_01 ${rc} ${stdout} osm vnfpkg-show ${vnfd_volumes_name} --literal | yq '.vdu[0]."virtual-storage-desc" | length' Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-show several_volumes-vnf --literal | yq '.vdu[0]."virtual-storage-desc" | length' 2>&1'. ${rc} = 0 ${stdout} = 3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${num_virtual_storage} ${stdout} Converts the given item to an integer number. ${num_virtual_storage} = 3 ${vnf_num_volumes} ${num_virtual_storage} Makes a variable available everywhere within the scope of the current suite. ${vnf_num_volumes} = 3 ${vnf_num_volumes} Logs the given message with the given level. 3 ${volumes_attached} ${vdu_volumes_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 3fa0bc66-d384-4d98-a770-54f253e530fc -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${stdout} Logs the given message with the given level. [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['b074e321-eb93-4329-b38b-015e6758d64e'] ${volume_id} ${match}[0] Makes a variable available everywhere within the scope of the current suite. ${volume_id} = b074e321-eb93-4329-b38b-015e6758d64e cluster_heal daily heal_01 ${vnf_volumes_ip_addr} msg=VNF is not available Fails unless the given variable exists within the current scope. 20 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 20 seconds Wait for SSH daemon to be up ${stdout} ${vnf_volumes_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.215:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 03:11:50 UTC 2024 System load: 0.08 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.215 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@heal-01-several-volumes--several-volumes-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo lsblk -l'. Command exited with return code 0. ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${lines} ${stdout} disk Returns lines of the given ``string`` that contain the ``pattern``. 3 out of 10 lines matched ${lines} = vda 252:0 0 10G 0 disk vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${num_lines} ${lines} Returns and logs the number of lines in the given string. 3 lines ${num_lines} = 3 ${num_lines} < ${vnf_num_volumes} Fail msg=Number of disks (${num_lines}) is less than specified in VDU (${vnf_num_volumes}) Runs the given keyword with the given arguments, if ``condition`` is true. cluster_heal daily heal_01 ${vdu_volumes_id} msg=VDU is not available Fails unless the given variable exists within the current scope. ${vdu_volumes_id} Delete a server ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server delete ${server_id} Runs the given command in the system and returns the RC and output. Running command 'openstack server delete 3fa0bc66-d384-4d98-a770-54f253e530fc 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 20 Pauses the test executed for the given time. Slept 20 seconds cluster_heal daily heal_01 ${vnf_volumes_id} msg=VNF is not available Fails unless the given variable exists within the current scope. ${ns_id} --vnf ${vnf_volumes_id} --cause "Heal VM of volumes_vnf" --vdu ${vdu_volumes_name} Execute healing operation over one NS. Return the ID of the operation associated to the executed healing action. ${ns_name} Verifies that the given item is not empty. Length is 36 ${params} Verifies that the given item is not empty. Length is 100 ${healing_max_wait_time} ${healing_max_wait_time} result_format=number Converts between supported `time formats`. ${healing_max_wait_time} = 600.0 ${healing_max_wait_time} ${healing_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${healing_max_wait_time} = 600.0 ${rc} ${stdout} osm ns-heal ${ns_name} ${params} Runs the given command in the system and returns the RC and output. Running command 'osm ns-heal bed7b348-4421-4860-bbc5-efa6f9e9f5c8 --vnf 41d0d35f-0577-4994-a57c-9ea11b010ef4 --cause "Heal VM of volumes_vnf" --vdu several_volumes-VM 2>&1'. ${rc} = 0 ${stdout} = 35ba4853-0a98-4c9d-864b-ec1d76a14cd4 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 35ba4853-0a98-4c9d-864b-ec1d76a14cd4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 35ba4853-0a98-4c9d-864b-ec1d76a14cd4 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 35ba4853-0a98-4c9d-864b-ec1d76a14cd4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 35ba4853-0a98-4c9d-864b-ec1d76a14cd4 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 35ba4853-0a98-4c9d-864b-ec1d76a14cd4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 35ba4853-0a98-4c9d-864b-ec1d76a14cd4 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_01 ${vnf_volumes_id} msg=VNF is not available Fails unless the given variable exists within the current scope. @{ip_list} ${vnf_volumes_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 41d0d35f-0577-4994-a57c-9ea11b010ef4 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.215 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.215 ] @{ip_list} = [ 172.21.249.215 ] @{ip_list} Logs the given message with the given level. 172.21.249.215 ${ip_list} ${volumes_ip_list} IP addresses have changed after healing Fails if the given objects are unequal. ${id} ${vnf_volumes_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 41d0d35f-0577-4994-a57c-9ea11b010ef4 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${stdout} Logs the given message with the given level. 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${id} Logs the given message with the given level. 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${id} ${vdu_volumes_id} VDU id has not changed after healing Fails if the given objects are equal. ${volumes_attached} ${id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 5ac35528-953e-4afa-b9d2-f20d4dadaf8c -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${stdout} Logs the given message with the given level. [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['b074e321-eb93-4329-b38b-015e6758d64e'] ${match}[0] ${volume_id} Volume id has changed after healing Fails if the given objects are unequal. 30 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 30 seconds Wait for SSH daemon to be up ${stdout} ${vnf_volumes_ip_addr} ${username} ${password} ${privatekey} sudo lsblk -l ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.215:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 03:13:25 UTC 2024 System load: 0.57 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.215 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@heal-01-several-volumes--several-volumes-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo lsblk -l'. Command exited with return code 0. ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 ... ${stdout} Logs the given message with the given level. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 61.9M 1 loop /snap/core20/1405 loop1 7:1 0 67.8M 1 loop /snap/lxd/22753 loop2 7:2 0 43.6M 1 loop /snap/snapd/15177 vda 252:0 0 10G 0 disk vda1 252:1 0 9.9G 0 part / vda14 252:14 0 4M 0 part vda15 252:15 0 106M 0 part /boot/efi vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${lines} ${stdout} disk Returns lines of the given ``string`` that contain the ``pattern``. 3 out of 10 lines matched ${lines} = vda 252:0 0 10G 0 disk vdb 252:16 0 2G 0 disk /mnt vdc 252:32 0 1G 0 disk ${num_lines} ${lines} Returns and logs the number of lines in the given string. 3 lines ${num_lines} = 3 ${num_lines} < ${vnf_num_volumes} Fail msg=Number of disks (${num_lines}) is less than specified in VDU (${vnf_num_volumes}) Runs the given keyword with the given arguments, if ``condition`` is true. cluster_heal daily heal_01 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vdu_updated} Returns a list containing given items. @{vdu_updated} = [ ] @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep bed7b348-4421-4860-bbc5-efa6f9e9f5c8 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 41d0d35f-0577-4994-a57c-9ea11b010ef4 ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 41d0d35f-0577-4994-a57c-9ea11b010ef4 | ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 41d0d35f-0577-4994-a57c-9ea11b010ef4 1: ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e @{vnf_id_list} = [ 41d0d35f-0577-4994-a57c-9ea11b010ef4 | ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ] ${vnf_id} @{vnf_id_list} 41d0d35f-0577-4994-a57c-9ea11b010ef4 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 41d0d35f-0577-4994-a57c-9ea11b010ef4 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${stdout} Logs the given message with the given level. 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5ac35528-953e-4afa-b9d2-f20d4dadaf8c @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show ce0b7733-46ee-4e4f-b386-e02f6e3fdf8e --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 ${stdout} Logs the given message with the given level. 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 70ef8530-2cfa-499f-b901-07758cbca691 | f7c96a0b-7957-4228-9efa-357a85bd79e1 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 70ef8530-2cfa-499f-b901-07758cbca691 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. f7c96a0b-7957-4228-9efa-357a85bd79e1 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 5ac35528-953e-4afa-b9d2-f20d4dadaf8c ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 5ac35528-953e-4afa-b9d2-f20d4dadaf8c -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${stdout} Logs the given message with the given level. [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': 'b074e321-eb93-4329-b38b-015e6758d64e'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['b074e321-eb93-4329-b38b-015e6758d64e'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 70ef8530-2cfa-499f-b901-07758cbca691 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 70ef8530-2cfa-499f-b901-07758cbca691 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. f7c96a0b-7957-4228-9efa-357a85bd79e1 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show f7c96a0b-7957-4228-9efa-357a85bd79e1 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 3fa0bc66-d384-4d98-a770-54f253e530fc 70ef8530-2cfa-499f-b901-07758cbca691 f7c96a0b-7957-4228-9efa-357a85bd79e1 5ac35528-953e-4afa-b9d2-f20d4dadaf8c @{vim_volumes} Logs the given messages as separate entries using the INFO level. b074e321-eb93-4329-b38b-015e6758d64e cluster_heal daily heal_01 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete heal_01 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 5ac35528-953e-4afa-b9d2-f20d4dadaf8c | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | b2e0a171-ba0d-4901-9c97-e8b5a20b999c | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::74; basic_30-datanet2=192.168.20.162; basic_30-datanet3=192.168.30.200; osm-ext=172.21.248.105 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c3b62daa-dcad-4156-8daf-2740a69ec9b1 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::210; basic_30-datanet2=192.168.20.4; basic_30-datanet3=192.168.30.160; osm-ext=172.21.248.200 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.144.182; osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.144.129; osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 5ac35528-953e-4afa-b9d2-f20d4dadaf8c | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.215 | ubuntu20.04 | several_volumes-VM-flv | | b2e0a171-ba0d-4901-9c97-e8b5a20b999c | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::74; basic_30-datanet2=192.168.20.162; basic_30-datanet3=192.168.30.200; osm-ext=172.21.248.105 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c3b62daa-dcad-4156-8daf-2740a69ec9b1 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::210; basic_30-datanet2=192.168.20.4; basic_30-datanet3=192.168.30.160; osm-ext=172.21.248.200 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | f7c96a0b-7957-4228-9efa-357a85bd79e1 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.204 | ubuntu18.04 | simple_requires-1-1-flv | | 70ef8530-2cfa-499f-b901-07758cbca691 | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.15 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+---------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+---------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+---------------------+ | b2e0a171-ba0d-4901-9c97-e8b5a20b999c | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet3=192.168.30.200; osm-ext=172.21.248.105 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | c3b62daa-dcad-4156-8daf-2740a69ec9b1 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet3=192.168.30.160; osm-ext=172.21.248.200 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+----------------------------------------------------------+-------------+---------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 0 ${stdout} = heal_01 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_01 == heal_01 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_01 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_01 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete volumes_nativecharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep volumes_nativecharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_01 ${vnfd_volumes_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_charm_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_01 ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vol_id} @{vim_volumes} b074e321-eb93-4329-b38b-015e6758d64e Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume b074e321-eb93-4329-b38b-015e6758d64e is still in VIM ${exists} ${vol_id} Checks if a volume id exists ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume list | grep ${volume_id} | wc -l Runs the given command in the system and returns the RC and output. Running command 'openstack volume list | grep b074e321-eb93-4329-b38b-015e6758d64e | wc -l 2>&1'. ${rc} = 0 ${stdout} = 0 ${stdout} Logs the given message with the given level. 0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${exists} = 0 ${error} 1 Returns the given values which can then be assigned to a variables. Deleting volume ${vol_id} Logs the given message with the given level. Delete Volume ${vol_id} Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} @{vim_vdus} 3fa0bc66-d384-4d98-a770-54f253e530fc Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 3fa0bc66-d384-4d98-a770-54f253e530fc is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 3fa0bc66-d384-4d98-a770-54f253e530fc -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '3fa0bc66-d384-4d98-a770-54f253e530fc' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '3fa0bc66-d384-4d98-a770-54f253e530fc' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 70ef8530-2cfa-499f-b901-07758cbca691 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 70ef8530-2cfa-499f-b901-07758cbca691 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 70ef8530-2cfa-499f-b901-07758cbca691 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '70ef8530-2cfa-499f-b901-07758cbca691' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '70ef8530-2cfa-499f-b901-07758cbca691' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. f7c96a0b-7957-4228-9efa-357a85bd79e1 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server f7c96a0b-7957-4228-9efa-357a85bd79e1 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show f7c96a0b-7957-4228-9efa-357a85bd79e1 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'f7c96a0b-7957-4228-9efa-357a85bd79e1' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'f7c96a0b-7957-4228-9efa-357a85bd79e1' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 5ac35528-953e-4afa-b9d2-f20d4dadaf8c Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 5ac35528-953e-4afa-b9d2-f20d4dadaf8c is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 5ac35528-953e-4afa-b9d2-f20d4dadaf8c -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '5ac35528-953e-4afa-b9d2-f20d4dadaf8c' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '5ac35528-953e-4afa-b9d2-f20d4dadaf8c' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_01 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_volumes_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_charm_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete Objects in VIM Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-01] Healing of a multi-volume VDU '%{PACKAGES_FOLDER}/${vnfd_charm_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz 3625a5d5-ef53-44c1-89dc-40427d6ab9cd ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 3625a5d5-ef53-44c1-89dc-40427d6ab9cd '%{PACKAGES_FOLDER}/${vnfd_volumes_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/several_volumes_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/s... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/several_volumes_vnf.tar.gz Uploading package /robot-systest/osm-packages/several_volumes_vnf.tar.gz 36748052-f40a-498f-a85d-03dc3c922a52 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 36748052-f40a-498f-a85d-03dc3c922a52 cluster_heal daily heal_02 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/volumes_nativecharm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/volumes_nativecharm_ns Validation OK List of charms in the descriptor: set() Adding File: volumes_nativecharm_ns Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/volumes_nativecharm_ns Validation OK List of charms in the descriptor: set() Adding File: volumes_nativecharm_ns Package created: /robot-systest/osm-packages/volumes_nativecharm_ns.tar.gz 56804548-457a-42b1-835e-9afe26f9ebcb ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 56804548-457a-42b1-835e-9afe26f9ebcb cluster_heal daily heal_02 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name heal_02 --nsd_name volumes_nativecharm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 66314511-f185-4fbd-9806-e2477826a1ab ${stdout} Logs the given message with the given level. 66314511-f185-4fbd-9806-e2477826a1ab ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 66314511-f185-4fbd-9806-e2477826a1ab ${ns_id} Logs the given message with the given level. 66314511-f185-4fbd-9806-e2477826a1ab ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 8fa72966-494e-40cd-a5ce-11c5159cc7ff | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | b35a2bd8-8174-4654-8dab-6a4c6c28537e | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 8fa72966-494e-40cd-a5ce-11c5159cc7ff | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | b35a2bd8-8174-4654-8dab-6a4c6c28537e | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 8fa72966-494e-40cd-a5ce-11c5159cc7ff | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | b35a2bd8-8174-4654-8dab-6a4c6c28537e | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 8fa72966-494e-40cd-a5ce-11c5159cc7ff | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | b35a2bd8-8174-4654-8dab-6a4c6c28537e | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | BUILDING | INSTANTIATING (f041ade2-a004-48e7-9694-e961b1185883) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 40cce1d9-8d4d-4141-9917-beee104972c1 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.114.131; osm-ext=172.21.249.23 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 40cce1d9-8d4d-4141-9917-beee104972c1 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.114.131; osm-ext=172.21.249.23 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 7064118f-7dff-4436-b58d-73209e035be7 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_02 | 66314511-f185-4fbd-9806-e2477826a1ab | 2024-03-28T03:14:58 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 66314511-f185-4fbd-9806-e2477826a1ab ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 66314511-f185-4fbd-9806-e2477826a1ab cluster_heal daily heal_02 ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${id} ${ns_name} ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. cleanup cluster_heal daily heal_02 ${vnf_id} ${ns_id} ${vnf_charm_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 9 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=charm_vnf | grep 66314511-f185-4fbd-9806-e2477826a1ab | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ${stdout} Logs the given message with the given level. a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_02-charm_vnf-mgmtVM-0 heal_02-charm_vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 ] @{vdur_list} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 2 ${ns_name} ${vnf_charm_index} ${vnf_charm_scaling_group} SCALE_OUT ${scale_wait_time} Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 240.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 240.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_02 charm_vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_02 charm_vnf 2>&1'. ${rc} = 0 ${stdout} = eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id eeaa4938-515e-4fdd-a9e2-15acd8b2015e ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show eeaa4938-515e-4fdd-a9e2-15acd8b2015e --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_02-charm_vnf-mgmtVM-0 heal_02-charm_vnf-mgmtVM-1 heal_02-charm_vnf-mgmtVM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 | heal_02-charm_vnf-mgmtVM-2 ] @{vdur_list} = [ heal_02-charm_vnf-mgmtVM-0 | heal_02-charm_vnf-mgmtVM-1 | heal_02-charm_vnf-mgmtVM-2 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. cluster_heal daily heal_02 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 66314511-f185-4fbd-9806-e2477826a1ab | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 1b28b873-1067-4d22-84c2-bc7a795062bc a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 1b28b873-1067-4d22-84c2-bc7a795062bc | a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 1b28b873-1067-4d22-84c2-bc7a795062bc 1: a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 @{vnf_id_list} = [ 1b28b873-1067-4d22-84c2-bc7a795062bc | a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ] ${vnf_id_list} Logs the given message with the given level. ['1b28b873-1067-4d22-84c2-bc7a795062bc', 'a8864bda-5bb3-45ac-b6c5-6d51a96d1a55'] ${vnf_id} @{vnf_id_list} 1b28b873-1067-4d22-84c2-bc7a795062bc ${vnf_id} Logs the given message with the given level. 1b28b873-1067-4d22-84c2-bc7a795062bc ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1b28b873-1067-4d22-84c2-bc7a795062bc --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 313607c2-b800-495d-93af-75e6017e8792 ${stdout} Logs the given message with the given level. 313607c2-b800-495d-93af-75e6017e8792 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 313607c2-b800-495d-93af-75e6017e8792 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 313607c2-b800-495d-93af-75e6017e8792 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ${vnf_id} Logs the given message with the given level. a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${stdout} Logs the given message with the given level. 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 508bca0e-0f21-4866-ac75-c7d2726b0c51 | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 313607c2-b800-495d-93af-75e6017e8792 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 313607c2-b800-495d-93af-75e6017e8792 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '729a837f-1f0a-4252-a369-1ca00bb3352b'}] ${stdout} Logs the given message with the given level. [{'id': '729a837f-1f0a-4252-a369-1ca00bb3352b'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '729a837f-1f0a-4252-a369-1ca00bb3352b'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['729a837f-1f0a-4252-a369-1ca00bb3352b'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 508bca0e-0f21-4866-ac75-c7d2726b0c51 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 508bca0e-0f21-4866-ac75-c7d2726b0c51 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 8894ff16-a9d3-4ee9-a932-8218a6a2c12e ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 8894ff16-a9d3-4ee9-a932-8218a6a2c12e -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 313607c2-b800-495d-93af-75e6017e8792 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f @{vim_volumes} Logs the given messages as separate entries using the INFO level. 729a837f-1f0a-4252-a369-1ca00bb3352b cluster_heal daily heal_02 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${vnf_id} ${ns_id} ${vnf_charm_index} ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${stdout} Logs the given message with the given level. 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ 508bca0e-0f21-4866-ac75-c7d2726b0c51 | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ 508bca0e-0f21-4866-ac75-c7d2726b0c51 | 8894ff16-a9d3-4ee9-a932-8218a6a2c12e | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ] ${vdu_charm_ids}[1] Logs the given message with the given level. 8894ff16-a9d3-4ee9-a932-8218a6a2c12e @{charm_ip_list} ${vnf_charm_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.171 192.168.77.139 172.21.248.92 192.168.77.184 172.21.248.232 192.168.77.61 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.171 | 192.168.77.139 | 172.21.248.92 | 192.168.77.184 | 172.21.248.232 | 192.168.77.61 ] @{charm_ip_list} = [ 172.21.249.171 | 192.168.77.139 | 172.21.248.92 | 192.168.77.184 | 172.21.248.232 | 192.168.77.61 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.249.171 | 192.168.77.139 | 172.21.248.92 | 192.168.77.184 | 172.21.248.232 | 192.168.77.61 ] cluster_heal daily heal_02 @{vdu_charm_ids} msg=VDU is not available Fails unless the given variable exists within the current scope. ${vdu_charm_ids}[1] Reset a server ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server set --state error ${server_id} Runs the given command in the system and returns the RC and output. Running command 'openstack server set --state error 8894ff16-a9d3-4ee9-a932-8218a6a2c12e 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 15 Pauses the test executed for the given time. Slept 15 seconds cluster_heal daily heal_02 ${vnf_charm_id} msg=VNF is not available Fails unless the given variable exists within the current scope. ${ns_id} --vnf ${vnf_charm_id} --cause "Heal VM of charm_vnf" --vdu ${vdu_charm_name} --count-index 1 --run-day1 Execute healing operation over one NS. Return the ID of the operation associated to the executed healing action. ${ns_name} Verifies that the given item is not empty. Length is 36 ${params} Verifies that the given item is not empty. Length is 113 ${healing_max_wait_time} ${healing_max_wait_time} result_format=number Converts between supported `time formats`. ${healing_max_wait_time} = 600.0 ${healing_max_wait_time} ${healing_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${healing_max_wait_time} = 600.0 ${rc} ${stdout} osm ns-heal ${ns_name} ${params} Runs the given command in the system and returns the RC and output. Running command 'osm ns-heal 66314511-f185-4fbd-9806-e2477826a1ab --vnf a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --cause "Heal VM of charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 2>&1'. ${rc} = 0 ${stdout} = ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id ff2da7dd-0f66-4427-a77d-df43f2e3c13a ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ff2da7dd-0f66-4427-a77d-df43f2e3c13a --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_02 ${vnf_charm_id} msg=VNF is not available Fails unless the given variable exists within the current scope. @{ip_list} ${vnf_charm_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.171 192.168.77.139 172.21.248.92 192.168.77.184 172.21.248.232 192.168.77.61 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.171 | 192.168.77.139 | 172.21.248.92 | 192.168.77.184 | 172.21.248.232 | 192.168.77.61 ] @{ip_list} = [ 172.21.249.171 | 192.168.77.139 | 172.21.248.92 | 192.168.77.184 | 172.21.248.232 | 192.168.77.61 ] ${ip_list} ${charm_ip_list} IP addresses have changed after healing Fails if the given objects are unequal. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 445e5a74-3a75-4d37-b25c-09b7263c1cfe d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${stdout} Logs the given message with the given level. 508bca0e-0f21-4866-ac75-c7d2726b0c51 445e5a74-3a75-4d37-b25c-09b7263c1cfe d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 445e5a74-3a75-4d37-b25c-09b7263c1cfe d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ 508bca0e-0f21-4866-ac75-c7d2726b0c51 | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ] ${vdu_charm_ids}[0] ${ids}[0] VDU[0] id has changed after healing Fails if the given objects are unequal. ${vdu_charm_ids}[1] ${ids}[1] VDU[1] id has not changed after healing Fails if the given objects are equal. ${vdu_charm_ids}[2] ${ids}[2] VDU[2] id has changed after healing Fails if the given objects are unequal. ${ip} ${vnf_charm_id} ip-address 1 Return an attribute from VDU records selected by count_index of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${attribute} Verifies that the given item is not empty. Length is 10 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(."count-index" == ${count_index})' | yq '."${attribute}"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.92 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.248.92 ${stdout} ${ip} ${username} ${password} ${privatekey} sudo ls ${vnf_charm_cloudinit_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.92:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 03:26:29 UTC 2024 System load: 0.74 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.92 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-02-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.92:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 03:26:32 UTC 2024 System load: 0.68 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.92 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 03:26:30 2024 from 172.21.249.4 ubuntu@heal-02-charm-vnf-mgmtvm-1:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_heal daily heal_02 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vdu_updated} Returns a list containing given items. @{vdu_updated} = [ ] @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 66314511-f185-4fbd-9806-e2477826a1ab | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 1b28b873-1067-4d22-84c2-bc7a795062bc a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 1b28b873-1067-4d22-84c2-bc7a795062bc | a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 1b28b873-1067-4d22-84c2-bc7a795062bc 1: a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 @{vnf_id_list} = [ 1b28b873-1067-4d22-84c2-bc7a795062bc | a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ] ${vnf_id} @{vnf_id_list} 1b28b873-1067-4d22-84c2-bc7a795062bc ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1b28b873-1067-4d22-84c2-bc7a795062bc --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 313607c2-b800-495d-93af-75e6017e8792 ${stdout} Logs the given message with the given level. 313607c2-b800-495d-93af-75e6017e8792 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 313607c2-b800-495d-93af-75e6017e8792 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 313607c2-b800-495d-93af-75e6017e8792 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 313607c2-b800-495d-93af-75e6017e8792 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a8864bda-5bb3-45ac-b6c5-6d51a96d1a55 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 445e5a74-3a75-4d37-b25c-09b7263c1cfe d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${stdout} Logs the given message with the given level. 508bca0e-0f21-4866-ac75-c7d2726b0c51 445e5a74-3a75-4d37-b25c-09b7263c1cfe d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 508bca0e-0f21-4866-ac75-c7d2726b0c51 445e5a74-3a75-4d37-b25c-09b7263c1cfe d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 508bca0e-0f21-4866-ac75-c7d2726b0c51 | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 508bca0e-0f21-4866-ac75-c7d2726b0c51 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 445e5a74-3a75-4d37-b25c-09b7263c1cfe ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 313607c2-b800-495d-93af-75e6017e8792 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 313607c2-b800-495d-93af-75e6017e8792 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '729a837f-1f0a-4252-a369-1ca00bb3352b'}] ${stdout} Logs the given message with the given level. [{'id': '729a837f-1f0a-4252-a369-1ca00bb3352b'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '729a837f-1f0a-4252-a369-1ca00bb3352b'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['729a837f-1f0a-4252-a369-1ca00bb3352b'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 508bca0e-0f21-4866-ac75-c7d2726b0c51 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 508bca0e-0f21-4866-ac75-c7d2726b0c51 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 445e5a74-3a75-4d37-b25c-09b7263c1cfe ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 445e5a74-3a75-4d37-b25c-09b7263c1cfe -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 313607c2-b800-495d-93af-75e6017e8792 508bca0e-0f21-4866-ac75-c7d2726b0c51 8894ff16-a9d3-4ee9-a932-8218a6a2c12e d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f 445e5a74-3a75-4d37-b25c-09b7263c1cfe @{vim_volumes} Logs the given messages as separate entries using the INFO level. 729a837f-1f0a-4252-a369-1ca00bb3352b cluster_heal daily heal_02 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete heal_02 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 4809610e-ea08-43e8-ab17-d6e0b3d6d95a | fail_01_6749-vnf-mgmtVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8b0c2c99-f06b-4366-ad32-18cef0e38545 | hfbasic-vnf-hackfest_basic-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8b0c2c99-f06b-4366-ad32-18cef0e38545 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu20.04 | simple_requires-1-1-flv | | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8b0c2c99-f06b-4366-ad32-18cef0e38545 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu20.04 | simple_requires-1-1-flv | | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8b0c2c99-f06b-4366-ad32-18cef0e38545 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.170 | ubuntu20.04 | simple_requires-1-1-flv | | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.77.184; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.77.61; osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.77.139; osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ | 445e5a74-3a75-4d37-b25c-09b7263c1cfe | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.232 | ubuntu18.04 | simple_requires-1-1-flv | | 508bca0e-0f21-4866-ac75-c7d2726b0c51 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.171 | ubuntu18.04 | simple_requires-1-1-flv | | 313607c2-b800-495d-93af-75e6017e8792 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.133 | ubuntu20.04 | several_volumes-VM-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 0 ${stdout} = heal_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_02 == heal_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | f7b17954-7bb5-4b2e-b42a-a71c3f28038f | hfcloudinit-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | adbbdb28-ccb4-4c2a-bd47-c5730080e20d | hfcloudinit-vnf1-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_02 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_02 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete volumes_nativecharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep volumes_nativecharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_02 ${vnfd_volumes_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_charm_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_02 ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vol_id} @{vim_volumes} 729a837f-1f0a-4252-a369-1ca00bb3352b Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 729a837f-1f0a-4252-a369-1ca00bb3352b is still in VIM ${exists} ${vol_id} Checks if a volume id exists ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume list | grep ${volume_id} | wc -l Runs the given command in the system and returns the RC and output. Running command 'openstack volume list | grep 729a837f-1f0a-4252-a369-1ca00bb3352b | wc -l 2>&1'. ${rc} = 0 ${stdout} = 0 ${stdout} Logs the given message with the given level. 0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${exists} = 0 ${error} 1 Returns the given values which can then be assigned to a variables. Deleting volume ${vol_id} Logs the given message with the given level. Delete Volume ${vol_id} Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} @{vim_vdus} 313607c2-b800-495d-93af-75e6017e8792 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 313607c2-b800-495d-93af-75e6017e8792 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 313607c2-b800-495d-93af-75e6017e8792 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '313607c2-b800-495d-93af-75e6017e8792' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '313607c2-b800-495d-93af-75e6017e8792' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 508bca0e-0f21-4866-ac75-c7d2726b0c51 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 508bca0e-0f21-4866-ac75-c7d2726b0c51 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 508bca0e-0f21-4866-ac75-c7d2726b0c51 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '508bca0e-0f21-4866-ac75-c7d2726b0c51' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '508bca0e-0f21-4866-ac75-c7d2726b0c51' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 8894ff16-a9d3-4ee9-a932-8218a6a2c12e Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 8894ff16-a9d3-4ee9-a932-8218a6a2c12e is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 8894ff16-a9d3-4ee9-a932-8218a6a2c12e -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '8894ff16-a9d3-4ee9-a932-8218a6a2c12e' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '8894ff16-a9d3-4ee9-a932-8218a6a2c12e' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show d9b7437c-76f3-4d6d-b62b-d9d2e0448d7f -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'd9b7437c-76f3-4d6d-b62b-d9d2e0448d7f' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'd9b7437c-76f3-4d6d-b62b-d9d2e0448d7f' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 445e5a74-3a75-4d37-b25c-09b7263c1cfe Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 445e5a74-3a75-4d37-b25c-09b7263c1cfe is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 445e5a74-3a75-4d37-b25c-09b7263c1cfe -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '445e5a74-3a75-4d37-b25c-09b7263c1cfe' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '445e5a74-3a75-4d37-b25c-09b7263c1cfe' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_02 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_volumes_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_charm_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete Objects in VIM Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-02] Healing of scaled charm VDUs '%{PACKAGES_FOLDER}/${vnfd_charm_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: native_manual_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_manual_scale_charm_vnf.tar.gz 7d654b9a-52c9-495e-a905-ea77eff4fd5e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 7d654b9a-52c9-495e-a905-ea77eff4fd5e '%{PACKAGES_FOLDER}/${vnfd_volumes_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/several_volumes_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/s... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/several_volumes_vnf Validation OK List of charms in the descriptor: set() Adding File: several_volumes_vnf Package created: /robot-systest/osm-packages/several_volumes_vnf.tar.gz Uploading package /robot-systest/osm-packages/several_volumes_vnf.tar.gz a3dfcc28-ef91-4d2e-8e2f-e19df5aaf334 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = a3dfcc28-ef91-4d2e-8e2f-e19df5aaf334 cluster_heal daily heal_03 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/volumes_nativecharm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/volumes_nativecharm_ns Validation OK List of charms in the descriptor: set() Adding File: volumes_nativecharm_ns Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/volumes_nativecharm_ns Validation OK List of charms in the descriptor: set() Adding File: volumes_nativecharm_ns Package created: /robot-systest/osm-packages/volumes_nativecharm_ns.tar.gz 5d5de35e-1578-4025-aa53-5bb6fbbf6106 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 5d5de35e-1578-4025-aa53-5bb6fbbf6106 cluster_heal daily heal_03 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name heal_03 --nsd_name volumes_nativecharm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 ${stdout} Logs the given message with the given level. b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 ${ns_id} Logs the given message with the given level. b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+--------------------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | c7b87bb2-5705-4dd9-82f6-f7fbd62dcf35 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.244; hfcloudinit-internal=192.168.31.103 | ubuntu20.04 | simple_requires-1-1-flv | | 6f728b0d-141a-4833-992a-8e723c788bb4 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.31.101; osm-ext=172.21.248.84 | ubuntu20.04 | simple_requires-1-1-flv | | f7b17954-7bb5-4b2e-b42a-a71c3f28038f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.147; hfcloudinit-internal=192.168.187.199 | ubuntu20.04 | simple_requires-1-1-flv | | adbbdb28-ccb4-4c2a-bd47-c5730080e20d | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.187.128; osm-ext=172.21.248.238 | ubuntu20.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | c7b87bb2-5705-4dd9-82f6-f7fbd62dcf35 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.244; hfcloudinit-internal=192.168.31.103 | ubuntu20.04 | simple_requires-1-1-flv | | 6f728b0d-141a-4833-992a-8e723c788bb4 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.31.101; osm-ext=172.21.248.84 | ubuntu20.04 | simple_requires-1-1-flv | | f7b17954-7bb5-4b2e-b42a-a71c3f28038f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.147; hfcloudinit-internal=192.168.187.199 | ubuntu20.04 | simple_requires-1-1-flv | | adbbdb28-ccb4-4c2a-bd47-c5730080e20d | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.187.128; osm-ext=172.21.248.238 | ubuntu20.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | c7b87bb2-5705-4dd9-82f6-f7fbd62dcf35 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-internal=192.168.31.103 | ubuntu20.04 | simple_requires-1-1-flv | | 6f728b0d-141a-4833-992a-8e723c788bb4 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.31.101; osm-ext=172.21.248.84 | ubuntu20.04 | simple_requires-1-1-flv | | f7b17954-7bb5-4b2e-b42a-a71c3f28038f | hfcloudinit-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | adbbdb28-ccb4-4c2a-bd47-c5730080e20d | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.187.128; osm-ext=172.21.248.238 | ubuntu20.04 | simple_requires-1-1-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 0cb6a602-2b85-48db-9499-a8c7ef1aeda7 | hfmultivdu-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 262ed4f3-c788-417f-bd8b-7488a7710ae7 | hfmultivdu-vnf1-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 8ef04507-715f-4639-a67d-49bd6386de05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.112 | ubuntu20.04 | simple_requires-1-1-flv | | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | cd6c7d12-e20d-4d2c-9352-251f71ea291c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.78; hfmultivdu-internal=192.168.237.218 | ubuntu20.04 | simple_requires-1-1-flv | | 080e017e-a385-4b2e-85e5-6c3c58542d63 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.237.101; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 0cb6a602-2b85-48db-9499-a8c7ef1aeda7 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.53; hfmultivdu-internal=192.168.92.160 | ubuntu20.04 | simple_requires-1-1-flv | | 262ed4f3-c788-417f-bd8b-7488a7710ae7 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.92.86; osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 8ef04507-715f-4639-a67d-49bd6386de05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.112 | ubuntu20.04 | simple_requires-1-1-flv | | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | cd6c7d12-e20d-4d2c-9352-251f71ea291c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.78; hfmultivdu-internal=192.168.237.218 | ubuntu20.04 | simple_requires-1-1-flv | | 080e017e-a385-4b2e-85e5-6c3c58542d63 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.237.101; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 0cb6a602-2b85-48db-9499-a8c7ef1aeda7 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.53; hfmultivdu-internal=192.168.92.160 | ubuntu20.04 | simple_requires-1-1-flv | | 262ed4f3-c788-417f-bd8b-7488a7710ae7 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.92.86; osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 8ef04507-715f-4639-a67d-49bd6386de05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.112 | ubuntu20.04 | simple_requires-1-1-flv | | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | BUILDING | INSTANTIATING (7b2436cd-775f-4e33-ab8c-5bf199bc6031) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | cd6c7d12-e20d-4d2c-9352-251f71ea291c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.78; hfmultivdu-internal=192.168.237.218 | ubuntu20.04 | simple_requires-1-1-flv | | 080e017e-a385-4b2e-85e5-6c3c58542d63 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.237.101; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 0cb6a602-2b85-48db-9499-a8c7ef1aeda7 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.53; hfmultivdu-internal=192.168.92.160 | ubuntu20.04 | simple_requires-1-1-flv | | 262ed4f3-c788-417f-bd8b-7488a7710ae7 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.92.86; osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 8ef04507-715f-4639-a67d-49bd6386de05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.112 | ubuntu20.04 | simple_requires-1-1-flv | | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | cd6c7d12-e20d-4d2c-9352-251f71ea291c | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.78; hfmultivdu-internal=192.168.237.218 | ubuntu20.04 | simple_requires-1-1-flv | | 080e017e-a385-4b2e-85e5-6c3c58542d63 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.237.101; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 0cb6a602-2b85-48db-9499-a8c7ef1aeda7 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.105.53; hfmultivdu-internal=192.168.92.160 | ubuntu20.04 | simple_requires-1-1-flv | | 262ed4f3-c788-417f-bd8b-7488a7710ae7 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.92.86; osm-ext=172.21.249.49 | ubuntu20.04 | simple_requires-1-1-flv | | 8ef04507-715f-4639-a67d-49bd6386de05 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.112 | ubuntu20.04 | simple_requires-1-1-flv | | 90f83e57-ac60-48a8-befe-222b7e01f956 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 5159cf89-f6c9-4b40-868c-396f7ae8ba9e | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 780d0e80-a7ef-4c15-b0bc-ea5d6ae5a5ea | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.64 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_03" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_03 | b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | 2024-03-28T03:29:55 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 cluster_heal daily heal_03 ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${id} ${ns_name} ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. cleanup cluster_heal daily heal_03 ${vnf_id} ${ns_id} ${vnf_charm_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 9 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=charm_vnf | grep b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 72ff1c9e-8808-4d6b-8902-ff49d190d61c ${stdout} Logs the given message with the given level. 72ff1c9e-8808-4d6b-8902-ff49d190d61c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 72ff1c9e-8808-4d6b-8902-ff49d190d61c ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = 72ff1c9e-8808-4d6b-8902-ff49d190d61c @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_03-charm_vnf-mgmtVM-0 heal_03-charm_vnf-mgmtVM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 ] @{vdur_list} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${initial_vdur_count} ${vdurs} Makes a variable available everywhere within the scope of the current suite. ${initial_vdur_count} = 2 ${ns_name} ${vnf_charm_index} ${vnf_charm_scaling_group} SCALE_OUT ${scale_wait_time} Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 240.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 240.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_03 charm_vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group manual-scaling_mgmtVM --scale-out heal_03 charm_vnf 2>&1'. ${rc} = 0 ${stdout} = a39dc66d-da15-4a4b-916b-1913235e062c ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a39dc66d-da15-4a4b-916b-1913235e062c ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a39dc66d-da15-4a4b-916b-1913235e062c --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. @{vdur_list} ${vnf_charm_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = heal_03-charm_vnf-mgmtVM-0 heal_03-charm_vnf-mgmtVM-1 heal_03-charm_vnf-mgmtVM-2 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 | heal_03-charm_vnf-mgmtVM-2 ] @{vdur_list} = [ heal_03-charm_vnf-mgmtVM-0 | heal_03-charm_vnf-mgmtVM-1 | heal_03-charm_vnf-mgmtVM-2 ] ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 3 ${vdurs} = 3 ${vdurs} != ${initial_vdur_count} + 1 Fail msg=There is no new VDU records in the VNF after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. cluster_heal daily heal_03 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | fe9b7650-48c3-4676-b535-4eb29a648db7 72ff1c9e-8808-4d6b-8902-ff49d190d61c ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ fe9b7650-48c3-4676-b535-4eb29a648db7 | 72ff1c9e-8808-4d6b-8902-ff49d190d61c ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: fe9b7650-48c3-4676-b535-4eb29a648db7 1: 72ff1c9e-8808-4d6b-8902-ff49d190d61c @{vnf_id_list} = [ fe9b7650-48c3-4676-b535-4eb29a648db7 | 72ff1c9e-8808-4d6b-8902-ff49d190d61c ] ${vnf_id_list} Logs the given message with the given level. ['fe9b7650-48c3-4676-b535-4eb29a648db7', '72ff1c9e-8808-4d6b-8902-ff49d190d61c'] ${vnf_id} @{vnf_id_list} fe9b7650-48c3-4676-b535-4eb29a648db7 ${vnf_id} Logs the given message with the given level. fe9b7650-48c3-4676-b535-4eb29a648db7 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fe9b7650-48c3-4676-b535-4eb29a648db7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ${stdout} Logs the given message with the given level. 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5159cf89-f6c9-4b40-868c-396f7ae8ba9e @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 72ff1c9e-8808-4d6b-8902-ff49d190d61c ${vnf_id} Logs the given message with the given level. 72ff1c9e-8808-4d6b-8902-ff49d190d61c ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 ${stdout} Logs the given message with the given level. 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 70ecde23-8c5e-4764-99ce-12ad4ac61ede | 90f83e57-ac60-48a8-befe-222b7e01f956 | 3a456207-001b-4b71-9f2a-76d0e5a6b665 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 5159cf89-f6c9-4b40-868c-396f7ae8ba9e -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '49d27d0e-2961-4430-afe8-086e57299bb9'}] ${stdout} Logs the given message with the given level. [{'id': '49d27d0e-2961-4430-afe8-086e57299bb9'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '49d27d0e-2961-4430-afe8-086e57299bb9'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['49d27d0e-2961-4430-afe8-086e57299bb9'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 70ecde23-8c5e-4764-99ce-12ad4ac61ede ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 70ecde23-8c5e-4764-99ce-12ad4ac61ede -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 90f83e57-ac60-48a8-befe-222b7e01f956 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 90f83e57-ac60-48a8-befe-222b7e01f956 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 3a456207-001b-4b71-9f2a-76d0e5a6b665 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 3a456207-001b-4b71-9f2a-76d0e5a6b665 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 5159cf89-f6c9-4b40-868c-396f7ae8ba9e 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 49d27d0e-2961-4430-afe8-086e57299bb9 cluster_heal daily heal_03 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${vnf_id} ${ns_id} ${vnf_charm_index} ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 ${stdout} Logs the given message with the given level. 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ 70ecde23-8c5e-4764-99ce-12ad4ac61ede | 90f83e57-ac60-48a8-befe-222b7e01f956 | 3a456207-001b-4b71-9f2a-76d0e5a6b665 ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ 70ecde23-8c5e-4764-99ce-12ad4ac61ede | 90f83e57-ac60-48a8-befe-222b7e01f956 | 3a456207-001b-4b71-9f2a-76d0e5a6b665 ] ${vdu_charm_ids}[1] Logs the given message with the given level. 90f83e57-ac60-48a8-befe-222b7e01f956 @{charm_ip_list} ${vnf_charm_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.247 192.168.204.176 172.21.248.107 192.168.204.208 172.21.248.213 192.168.204.205 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.247 | 192.168.204.176 | 172.21.248.107 | 192.168.204.208 | 172.21.248.213 | 192.168.204.205 ] @{charm_ip_list} = [ 172.21.248.247 | 192.168.204.176 | 172.21.248.107 | 192.168.204.208 | 172.21.248.213 | 192.168.204.205 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.248.247 | 192.168.204.176 | 172.21.248.107 | 192.168.204.208 | 172.21.248.213 | 192.168.204.205 ] cluster_heal daily heal_03 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${ip_addr} ${ns_id} ${vnf_several_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 19 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=several_volumes_vnf | grep b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.103 ${stdout} Logs the given message with the given level. 172.21.249.103 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.103 ${ip_addr} Logs the given message with the given level. 172.21.249.103 ${vnf_volumes_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_ip_addr} = 172.21.249.103 ${vnf_id} ${ns_id} ${vnf_several_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 19 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=several_volumes_vnf | grep b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = fe9b7650-48c3-4676-b535-4eb29a648db7 ${stdout} Logs the given message with the given level. fe9b7650-48c3-4676-b535-4eb29a648db7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = fe9b7650-48c3-4676-b535-4eb29a648db7 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = fe9b7650-48c3-4676-b535-4eb29a648db7 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fe9b7650-48c3-4676-b535-4eb29a648db7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ${stdout} Logs the given message with the given level. 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 5159cf89-f6c9-4b40-868c-396f7ae8ba9e ${vdu_volumes_id} Logs the given message with the given level. 5159cf89-f6c9-4b40-868c-396f7ae8ba9e @{volumes_ip_list} ${vnf_volumes_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fe9b7650-48c3-4676-b535-4eb29a648db7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.103 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.103 ] @{volumes_ip_list} = [ 172.21.249.103 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.249.103 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.249.103 cluster_heal daily heal_03 @{vdu_charm_ids} msg=Charm VDUs are not available Fails unless the given variable exists within the current scope. ${vdu_volumes_id} msg=Volume VDU is not available Fails unless the given variable exists within the current scope. ${vdu_charm_ids}[1] Stop a server ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server stop ${server_id} Runs the given command in the system and returns the RC and output. Running command 'openstack server stop 90f83e57-ac60-48a8-befe-222b7e01f956 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vdu_charm_ids}[2] Stop a server ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server stop ${server_id} Runs the given command in the system and returns the RC and output. Running command 'openstack server stop 3a456207-001b-4b71-9f2a-76d0e5a6b665 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vdu_volumes_id} Stop a server ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server stop ${server_id} Runs the given command in the system and returns the RC and output. Running command 'openstack server stop 5159cf89-f6c9-4b40-868c-396f7ae8ba9e 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 30 Pauses the test executed for the given time. Slept 30 seconds cluster_heal daily heal_03 ${vnf_charm_id} msg=Charm VNF is not available Fails unless the given variable exists within the current scope. ${vnf_volumes_id} msg=Volume VNF is not available Fails unless the given variable exists within the current scope. ${ns_id} --vnf ${vnf_volumes_id} --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf ${vnf_charm_id} --cause "Heal two VMs of native_manual_scale_charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 --vdu mgmtVM --count-index 2 Execute healing operation over one NS. Return the ID of the operation associated to the executed healing action. ${ns_name} Verifies that the given item is not empty. Length is 36 ${params} Verifies that the given item is not empty. Length is 280 ${healing_max_wait_time} ${healing_max_wait_time} result_format=number Converts between supported `time formats`. ${healing_max_wait_time} = 600.0 ${healing_max_wait_time} ${healing_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${healing_max_wait_time} = 600.0 ${rc} ${stdout} osm ns-heal ${ns_name} ${params} Runs the given command in the system and returns the RC and output. Running command 'osm ns-heal b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 --vnf fe9b7650-48c3-4676-b535-4eb29a648db7 --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf 72ff1c9e-8808-4d6b-8902-ff49d190d61c --cause "Heal two VMs of native_manual_scale_charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 --vdu mgmtVM --count-index 2 2>&1'. ${rc} = 0 ${stdout} = 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5f0798cd-0f67-41ec-8a6c-7f6158a42d38 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_03 ${vnf_charm_id} msg=Charm VNF is not available Fails unless the given variable exists within the current scope. ${vnf_volumes_id} msg=Volume VNF is not available Fails unless the given variable exists within the current scope. ${id} ${vnf_charm_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 5224dadf-bf8c-4b67-b4e9-b70d39faa86c e0a7e2e0-8a27-41f6-afaf-6f276b988800 ${stdout} Logs the given message with the given level. 70ecde23-8c5e-4764-99ce-12ad4ac61ede 5224dadf-bf8c-4b67-b4e9-b70d39faa86c e0a7e2e0-8a27-41f6-afaf-6f276b988800 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 5224dadf-bf8c-4b67-b4e9-b70d39faa86c e0a7e2e0-8a27-41f6-afaf-6f276b988800 @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ 70ecde23-8c5e-4764-99ce-12ad4ac61ede | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | e0a7e2e0-8a27-41f6-afaf-6f276b988800 ] ${vdu_charm_ids}[0] ${ids}[0] VDU[0] id has changed after healing Fails if the given objects are unequal. ${vdu_charm_ids}[1] ${ids}[1] VDU[1] id has not changed after healing Fails if the given objects are equal. ${vdu_charm_ids}[2] ${ids}[2] VDU[2] id has not changed after healing Fails if the given objects are equal. ${id} ${vnf_volumes_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fe9b7650-48c3-4676-b535-4eb29a648db7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ${stdout} Logs the given message with the given level. f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ${id} ${vdu_volumes_id} VDU id has not changed after healing Fails if the given objects are equal. ${ip} ${vnf_charm_id} ip-address 1 Return an attribute from VDU records selected by count_index of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${attribute} Verifies that the given item is not empty. Length is 10 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(."count-index" == ${count_index})' | yq '."${attribute}"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | yq '.vdur[] | select(."count-index" == 1)' | yq '."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.107 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip} = 172.21.248.107 ${stdout} ${ip} ${username} ${password} ${privatekey} sudo ls ${vnf_charm_cloudinit_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.107:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 03:42:09 UTC 2024 System load: 0.67 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.107 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** ubuntu@heal-03-charm-vnf-mgmtvm-1:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo ls /root/helloworld.txt'. Command exited with return code 0. ${stdout} = /root/helloworld.txt ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. /root/helloworld.txt Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = /root/helloworld.txt ${stdout} Logs the given message with the given level. /root/helloworld.txt ${ip} ${username} ${password} ${privatekey} ${vnf_charm_day1_file} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.107:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/pro System information as of Thu Mar 28 03:42:11 UTC 2024 System load: 0.67 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.107 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 14 updates can be applied immediately. 9 of these updates are standard security updates. To see these additional updates run: apt list --upgradable Enable ESM Infra to receive additional future security updates. See https://ubuntu.com/esm or run: sudo pro status New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 03:42:10 2024 from 172.21.249.4 ubuntu@heal-03-charm-vnf-mgmtvm-1:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_heal daily heal_03 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vdu_updated} Returns a list containing given items. @{vdu_updated} = [ ] @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep b13dbeb0-825f-48ba-80d6-84e5b6e2bd77 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | fe9b7650-48c3-4676-b535-4eb29a648db7 72ff1c9e-8808-4d6b-8902-ff49d190d61c ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ fe9b7650-48c3-4676-b535-4eb29a648db7 | 72ff1c9e-8808-4d6b-8902-ff49d190d61c ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: fe9b7650-48c3-4676-b535-4eb29a648db7 1: 72ff1c9e-8808-4d6b-8902-ff49d190d61c @{vnf_id_list} = [ fe9b7650-48c3-4676-b535-4eb29a648db7 | 72ff1c9e-8808-4d6b-8902-ff49d190d61c ] ${vnf_id} @{vnf_id_list} fe9b7650-48c3-4676-b535-4eb29a648db7 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fe9b7650-48c3-4676-b535-4eb29a648db7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ${stdout} Logs the given message with the given level. f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = f0edbed0-12b8-4c86-80ec-9af33f4d04d7 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 72ff1c9e-8808-4d6b-8902-ff49d190d61c ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 72ff1c9e-8808-4d6b-8902-ff49d190d61c --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 5224dadf-bf8c-4b67-b4e9-b70d39faa86c e0a7e2e0-8a27-41f6-afaf-6f276b988800 ${stdout} Logs the given message with the given level. 70ecde23-8c5e-4764-99ce-12ad4ac61ede 5224dadf-bf8c-4b67-b4e9-b70d39faa86c e0a7e2e0-8a27-41f6-afaf-6f276b988800 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 70ecde23-8c5e-4764-99ce-12ad4ac61ede 5224dadf-bf8c-4b67-b4e9-b70d39faa86c e0a7e2e0-8a27-41f6-afaf-6f276b988800 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 70ecde23-8c5e-4764-99ce-12ad4ac61ede | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | e0a7e2e0-8a27-41f6-afaf-6f276b988800 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 70ecde23-8c5e-4764-99ce-12ad4ac61ede ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 5224dadf-bf8c-4b67-b4e9-b70d39faa86c ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. e0a7e2e0-8a27-41f6-afaf-6f276b988800 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} f0edbed0-12b8-4c86-80ec-9af33f4d04d7 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show f0edbed0-12b8-4c86-80ec-9af33f4d04d7 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'id': '49d27d0e-2961-4430-afe8-086e57299bb9'}] ${stdout} Logs the given message with the given level. [{'id': '49d27d0e-2961-4430-afe8-086e57299bb9'}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'id': '49d27d0e-2961-4430-afe8-086e57299bb9'}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['49d27d0e-2961-4430-afe8-086e57299bb9'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 70ecde23-8c5e-4764-99ce-12ad4ac61ede ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 70ecde23-8c5e-4764-99ce-12ad4ac61ede -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 5224dadf-bf8c-4b67-b4e9-b70d39faa86c ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 5224dadf-bf8c-4b67-b4e9-b70d39faa86c -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. e0a7e2e0-8a27-41f6-afaf-6f276b988800 ${volumes_attached} ${vdu_id} volumes_attached Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show e0a7e2e0-8a27-41f6-afaf-6f276b988800 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [] ${stdout} Logs the given message with the given level. [] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = [] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. 5159cf89-f6c9-4b40-868c-396f7ae8ba9e 70ecde23-8c5e-4764-99ce-12ad4ac61ede 90f83e57-ac60-48a8-befe-222b7e01f956 3a456207-001b-4b71-9f2a-76d0e5a6b665 f0edbed0-12b8-4c86-80ec-9af33f4d04d7 5224dadf-bf8c-4b67-b4e9-b70d39faa86c e0a7e2e0-8a27-41f6-afaf-6f276b988800 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 49d27d0e-2961-4430-afe8-086e57299bb9 cluster_heal daily heal_03 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete heal_03 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 07d1714a-17eb-4125-9b88-57ab2d2c6455 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.51.40; osm-ext=172.21.249.187 | ubuntu18.04 | osm.heal02_784922 | | 3323b8fc-0132-4843-8410-b6b388d96165 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.51.6; osm-ext=172.21.249.172 | ubuntu18.04 | osm.heal02_784922 | | efaf474e-55a4-4999-bcd0-fa6388be6e11 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.51.173; osm-ext=172.21.248.160 | ubuntu18.04 | osm.heal02_784922 | | 8ece827e-2e4f-41a9-a187-7a3892d34da1 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.224 | ubuntu20.04 | several_volumes-VM-flv | | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 07d1714a-17eb-4125-9b88-57ab2d2c6455 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.51.40; osm-ext=172.21.249.187 | ubuntu18.04 | osm.heal02_784922 | | 3323b8fc-0132-4843-8410-b6b388d96165 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.51.6; osm-ext=172.21.249.172 | ubuntu18.04 | osm.heal02_784922 | | efaf474e-55a4-4999-bcd0-fa6388be6e11 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.51.173; osm-ext=172.21.248.160 | ubuntu18.04 | osm.heal02_784922 | | 8ece827e-2e4f-41a9-a187-7a3892d34da1 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.224 | ubuntu20.04 | several_volumes-VM-flv | | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 07d1714a-17eb-4125-9b88-57ab2d2c6455 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.51.40; osm-ext=172.21.249.187 | ubuntu18.04 | osm.heal02_784922 | | 3323b8fc-0132-4843-8410-b6b388d96165 | heal_02-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.51.6; osm-ext=172.21.249.172 | ubuntu18.04 | osm.heal02_784922 | | efaf474e-55a4-4999-bcd0-fa6388be6e11 | heal_02-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.51.173; osm-ext=172.21.248.160 | ubuntu18.04 | osm.heal02_784922 | | 8ece827e-2e4f-41a9-a187-7a3892d34da1 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.224 | ubuntu20.04 | several_volumes-VM-flv | | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 07d1714a-17eb-4125-9b88-57ab2d2c6455 | heal_02-manual_scale_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.187 | ubuntu18.04 | osm.heal02_784922 | | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.204.205; osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.204.208; osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.204.176; osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 58b893ed-31cf-4083-a969-305f3ba5d3f0 | heal_03-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | e0a7e2e0-8a27-41f6-afaf-6f276b988800 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.213 | ubuntu18.04 | simple_requires-1-1-flv | | 5224dadf-bf8c-4b67-b4e9-b70d39faa86c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.107 | ubuntu18.04 | simple_requires-1-1-flv | | f0edbed0-12b8-4c86-80ec-9af33f4d04d7 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 70ecde23-8c5e-4764-99ce-12ad4ac61ede | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 0 ${stdout} = heal_03 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_03 == heal_03 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+---------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | f1183991-dbfc-4f52-b606-4e111473c5c2 | heal_03-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.128.153; osm-ext=172.21.249.0 | ubuntu18.04 | simple_requires-1-1-flv | | 1bfec0bf-9902-4ed7-a3b8-a8835d0d47cf | heal_03-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.128.141; osm-ext=172.21.248.93 | ubuntu18.04 | simple_requires-1-1-flv | | 58b893ed-31cf-4083-a969-305f3ba5d3f0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_03 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_03 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete volumes_nativecharm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep volumes_nativecharm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_03 ${vnfd_volumes_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete several_volumes-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep several_volumes-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd_charm_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_manual_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_manual_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_03 ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vol_id} @{vim_volumes} 49d27d0e-2961-4430-afe8-086e57299bb9 Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 49d27d0e-2961-4430-afe8-086e57299bb9 is still in VIM ${exists} ${vol_id} Checks if a volume id exists ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume list | grep ${volume_id} | wc -l Runs the given command in the system and returns the RC and output. Running command 'openstack volume list | grep 49d27d0e-2961-4430-afe8-086e57299bb9 | wc -l 2>&1'. ${rc} = 0 ${stdout} = 0 ${stdout} Logs the given message with the given level. 0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${exists} = 0 ${error} 1 Returns the given values which can then be assigned to a variables. Deleting volume ${vol_id} Logs the given message with the given level. Delete Volume ${vol_id} Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} @{vim_vdus} 5159cf89-f6c9-4b40-868c-396f7ae8ba9e Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 5159cf89-f6c9-4b40-868c-396f7ae8ba9e is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 5159cf89-f6c9-4b40-868c-396f7ae8ba9e -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '5159cf89-f6c9-4b40-868c-396f7ae8ba9e' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '5159cf89-f6c9-4b40-868c-396f7ae8ba9e' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 70ecde23-8c5e-4764-99ce-12ad4ac61ede Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 70ecde23-8c5e-4764-99ce-12ad4ac61ede is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 70ecde23-8c5e-4764-99ce-12ad4ac61ede -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '70ecde23-8c5e-4764-99ce-12ad4ac61ede' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '70ecde23-8c5e-4764-99ce-12ad4ac61ede' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 90f83e57-ac60-48a8-befe-222b7e01f956 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 90f83e57-ac60-48a8-befe-222b7e01f956 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 90f83e57-ac60-48a8-befe-222b7e01f956 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '90f83e57-ac60-48a8-befe-222b7e01f956' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '90f83e57-ac60-48a8-befe-222b7e01f956' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 3a456207-001b-4b71-9f2a-76d0e5a6b665 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 3a456207-001b-4b71-9f2a-76d0e5a6b665 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 3a456207-001b-4b71-9f2a-76d0e5a6b665 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '3a456207-001b-4b71-9f2a-76d0e5a6b665' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '3a456207-001b-4b71-9f2a-76d0e5a6b665' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. f0edbed0-12b8-4c86-80ec-9af33f4d04d7 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server f0edbed0-12b8-4c86-80ec-9af33f4d04d7 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show f0edbed0-12b8-4c86-80ec-9af33f4d04d7 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'f0edbed0-12b8-4c86-80ec-9af33f4d04d7' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'f0edbed0-12b8-4c86-80ec-9af33f4d04d7' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 5224dadf-bf8c-4b67-b4e9-b70d39faa86c Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 5224dadf-bf8c-4b67-b4e9-b70d39faa86c is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 5224dadf-bf8c-4b67-b4e9-b70d39faa86c -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '5224dadf-bf8c-4b67-b4e9-b70d39faa86c' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '5224dadf-bf8c-4b67-b4e9-b70d39faa86c' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. e0a7e2e0-8a27-41f6-afaf-6f276b988800 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server e0a7e2e0-8a27-41f6-afaf-6f276b988800 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show e0a7e2e0-8a27-41f6-afaf-6f276b988800 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'e0a7e2e0-8a27-41f6-afaf-6f276b988800' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'e0a7e2e0-8a27-41f6-afaf-6f276b988800' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_03 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_volumes_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_charm_name} Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-03] Healing of multiple VDUs '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/autoheal_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/autoheal_vnf Validation OK List of charms in the descriptor: set() Adding File: autoheal_vnf Package created: /robot-systest/osm-packages/autoheal_vnf.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/autoheal_vnf Validation OK List of charms in the descriptor: set() Adding File: autoheal_vnf Package created: /robot-systest/osm-packages/autoheal_vnf.tar.gz Uploading package /robot-systest/osm-packages/autoheal_vnf.tar.gz efe10977-1756-427d-9d64-4c1aaef0ed10 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = efe10977-1756-427d-9d64-4c1aaef0ed10 cluster_heal daily heal_04 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/autoheal_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/autoheal_ns Validation OK List of charms in the descriptor: set() Adding File: autoheal_ns Package created: /robot-systest/osm-packages/autoheal_ns.tar.g... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/autoheal_ns Validation OK List of charms in the descriptor: set() Adding File: autoheal_ns Package created: /robot-systest/osm-packages/autoheal_ns.tar.gz 22eedbd5-daa3-4fdd-8056-345c83e74718 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 22eedbd5-daa3-4fdd-8056-345c83e74718 cluster_heal daily heal_04 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmt, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name heal_04 --nsd_name autoheal_nsd --vim_account osm --config '{vld: [ {name: mgmt, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = faf37614-d310-41ad-a5d5-60f68859434e ${stdout} Logs the given message with the given level. faf37614-d310-41ad-a5d5-60f68859434e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = faf37614-d310-41ad-a5d5-60f68859434e ${ns_id} Logs the given message with the given level. faf37614-d310-41ad-a5d5-60f68859434e ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+---------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ | f1183991-dbfc-4f52-b606-4e111473c5c2 | heal_03-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.128.153; osm-ext=172.21.249.0 | ubuntu18.04 | simple_requires-1-1-flv | | 1bfec0bf-9902-4ed7-a3b8-a8835d0d47cf | heal_03-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.128.141; osm-ext=172.21.248.93 | ubuntu18.04 | simple_requires-1-1-flv | | 58b893ed-31cf-4083-a969-305f3ba5d3f0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_04 | faf37614-d310-41ad-a5d5-60f68859434e | 2024-03-28T03:45:36 | BUILDING | INSTANTIATING (3f287642-4e3e-49c8-bd30-a7f7c3b4c774) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | heal_04 | faf37614-d310-41ad-a5d5-60f68859434e | 2024-03-28T03:45:36 | BUILDING | INSTANTIATING (3f287642-4e3e-49c8-bd30-a7f7c3b4c774) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+---------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+-----------------------------------------+ | 3efa639f-12ac-4b71-84f3-3568f4a65744 | heal_03-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.128.58; osm-ext=172.21.249.197 | ubuntu18.04 | simple_requires-1-1-flv | | e15615dd-623c-41c9-a53b-b99e38019488 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.94 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1183991-dbfc-4f52-b606-4e111473c5c2 | heal_03-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.128.153; osm-ext=172.21.249.0 | ubuntu18.04 | simple_requires-1-1-flv | | 1bfec0bf-9902-4ed7-a3b8-a8835d0d47cf | heal_03-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.128.141; osm-ext=172.21.248.93 | ubuntu18.04 | simple_requires-1-1-flv | | 58b893ed-31cf-4083-a969-305f3ba5d3f0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_04 | faf37614-d310-41ad-a5d5-60f68859434e | 2024-03-28T03:45:36 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+---------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+-----------------------------------------+ | 3efa639f-12ac-4b71-84f3-3568f4a65744 | heal_03-manual_scale_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.128.58; osm-ext=172.21.249.197 | ubuntu18.04 | simple_requires-1-1-flv | | e15615dd-623c-41c9-a53b-b99e38019488 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.94 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1183991-dbfc-4f52-b606-4e111473c5c2 | heal_03-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.128.153; osm-ext=172.21.249.0 | ubuntu18.04 | simple_requires-1-1-flv | | 1bfec0bf-9902-4ed7-a3b8-a8835d0d47cf | heal_03-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.128.141; osm-ext=172.21.248.93 | ubuntu18.04 | simple_requires-1-1-flv | | 58b893ed-31cf-4083-a969-305f3ba5d3f0 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | several_volumes-VM-flv | | 5618788c-46bd-4c46-8baf-1adcd6a1d927 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.53 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 9aff6fac-70ad-488a-9b6b-6883c3b7de1d | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.220 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+------------------------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="heal_04" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | heal_04 | faf37614-d310-41ad-a5d5-60f68859434e | 2024-03-28T03:45:36 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = faf37614-d310-41ad-a5d5-60f68859434e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = faf37614-d310-41ad-a5d5-60f68859434e cluster_heal daily heal_04 ${variables} Returns a dictionary containing all variables in the current scope. ${variables} = {'${/}': '/', '${:}': ':', '${\\n}': '\n', '${DEBUG_FILE}': 'NONE', '${delete_max_wait_time}': '1min', '${delete_pol_time}': '15sec', '${EXECDIR}': '/robot-systest', '${failure_return_code}': '1', '${... ${id} ${ns_name} ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. cleanup cluster_heal daily heal_04 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep faf37614-d310-41ad-a5d5-60f68859434e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 2fb274c8-99b8-4871-9f75-fc2595854da7 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 2fb274c8-99b8-4871-9f75-fc2595854da7 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 2fb274c8-99b8-4871-9f75-fc2595854da7 @{vnf_id_list} = [ 2fb274c8-99b8-4871-9f75-fc2595854da7 ] ${vnf_id_list} Logs the given message with the given level. ['2fb274c8-99b8-4871-9f75-fc2595854da7'] ${vnf_id} @{vnf_id_list} 2fb274c8-99b8-4871-9f75-fc2595854da7 ${vnf_id} Logs the given message with the given level. 2fb274c8-99b8-4871-9f75-fc2595854da7 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 2fb274c8-99b8-4871-9f75-fc2595854da7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e15615dd-623c-41c9-a53b-b99e38019488 ${stdout} Logs the given message with the given level. e15615dd-623c-41c9-a53b-b99e38019488 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = e15615dd-623c-41c9-a53b-b99e38019488 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ e15615dd-623c-41c9-a53b-b99e38019488 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. e15615dd-623c-41c9-a53b-b99e38019488 cluster_heal daily heal_04 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${ip_addr} ${ns_id} ${vnf_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=autoheal-basic-1 | grep faf37614-d310-41ad-a5d5-60f68859434e | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.94 ${stdout} Logs the given message with the given level. 172.21.248.94 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.248.94 ${ip_addr} Logs the given message with the given level. 172.21.248.94 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.94 ${vnf_id} ${ns_id} ${vnf_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=autoheal-basic-1 | grep faf37614-d310-41ad-a5d5-60f68859434e | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 2fb274c8-99b8-4871-9f75-fc2595854da7 ${stdout} Logs the given message with the given level. 2fb274c8-99b8-4871-9f75-fc2595854da7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 2fb274c8-99b8-4871-9f75-fc2595854da7 ${vnf_autoheal_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_autoheal_id} = 2fb274c8-99b8-4871-9f75-fc2595854da7 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 2fb274c8-99b8-4871-9f75-fc2595854da7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e15615dd-623c-41c9-a53b-b99e38019488 ${stdout} Logs the given message with the given level. e15615dd-623c-41c9-a53b-b99e38019488 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = e15615dd-623c-41c9-a53b-b99e38019488 ${vdu_autoheal_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_autoheal_id} = e15615dd-623c-41c9-a53b-b99e38019488 ${vdu_autoheal_id} Logs the given message with the given level. e15615dd-623c-41c9-a53b-b99e38019488 @{autoheal_ip_list} ${vnf_autoheal_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 2fb274c8-99b8-4871-9f75-fc2595854da7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.94 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.94 ] @{autoheal_ip_list} = [ 172.21.248.94 ] @{autoheal_ip_list} @{autoheal_ip_list} Makes a variable available everywhere within the scope of the current suite. @{autoheal_ip_list} = [ 172.21.248.94 ] @{autoheal_ip_list} Logs the given message with the given level. 172.21.248.94 cluster_heal daily heal_04 ${vdu_autoheal_id} msg=VDU is not available Fails unless the given variable exists within the current scope. ${vdu_autoheal_id} Reset a server ${server_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack server set --state error ${server_id} Runs the given command in the system and returns the RC and output. Running command 'openstack server set --state error e15615dd-623c-41c9-a53b-b99e38019488 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 30 Pauses the test executed for the given time. Slept 30 seconds cluster_heal daily heal_04 ${healing_max_wait_time} ${healing_max_wait_time} result_format=number Converts between supported `time formats`. ${healing_max_wait_time} = 600.0 ${healing_max_wait_time} ${healing_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${healing_max_wait_time} = 600.0 ${healing_max_wait_time} ${healing_pol_time} Get Operations By Type ${ns_id} heal Runs the specified keyword and retries if it fails. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 0 '' should not be empty. ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 614bdd47-54af-47a7-98ed-888cc2c54ef2 ${stdout} Logs the given message with the given level. 614bdd47-54af-47a7-98ed-888cc2c54ef2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 36 ${stdout} ${ns_id} heal Keyword to get the operation by type ${ns_id} Verifies that the given item is not empty. Length is 36 ${type} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-op-list ${ns_id} | grep ${type} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-list faf37614-d310-41ad-a5d5-60f68859434e | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 614bdd47-54af-47a7-98ed-888cc2c54ef2 ${stdout} Logs the given message with the given level. 614bdd47-54af-47a7-98ed-888cc2c54ef2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 36 ${stdout} = 614bdd47-54af-47a7-98ed-888cc2c54ef2 ${healing_max_wait_time} ${healing_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 614bdd47-54af-47a7-98ed-888cc2c54ef2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 614bdd47-54af-47a7-98ed-888cc2c54ef2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 614bdd47-54af-47a7-98ed-888cc2c54ef2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 614bdd47-54af-47a7-98ed-888cc2c54ef2 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 614bdd47-54af-47a7-98ed-888cc2c54ef2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 614bdd47-54af-47a7-98ed-888cc2c54ef2 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. cluster_heal daily heal_04 ${vnf_autoheal_id} msg=VNF is not available Fails unless the given variable exists within the current scope. @{ip_list} ${vnf_autoheal_id} Return a list with the IP addresses of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 2fb274c8-99b8-4871-9f75-fc2595854da7 --literal | yq '.vdur[].interfaces[]."ip-address"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.94 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.94 ] @{ip_list} = [ 172.21.248.94 ] @{ip_list} Logs the given message with the given level. 172.21.248.94 ${ip_list} ${autoheal_ip_list} IP addresses have changed after healing Fails if the given objects are unequal. ${id} ${vnf_autoheal_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 2fb274c8-99b8-4871-9f75-fc2595854da7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ${stdout} Logs the given message with the given level. 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ${id} Logs the given message with the given level. 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ${id} ${vdu_autoheal_id} VDU id has not changed after healing Fails if the given objects are equal. cluster_heal daily heal_04 ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep faf37614-d310-41ad-a5d5-60f68859434e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 2fb274c8-99b8-4871-9f75-fc2595854da7 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 2fb274c8-99b8-4871-9f75-fc2595854da7 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 2fb274c8-99b8-4871-9f75-fc2595854da7 @{vnf_id_list} = [ 2fb274c8-99b8-4871-9f75-fc2595854da7 ] ${vnf_id} @{vnf_id_list} 2fb274c8-99b8-4871-9f75-fc2595854da7 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | grep vim-id | awk '{print $2}' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 2fb274c8-99b8-4871-9f75-fc2595854da7 --literal | grep vim-id | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ${stdout} Logs the given message with the given level. 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ] ${id} @{vdu_ids} 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. e15615dd-623c-41c9-a53b-b99e38019488 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 cluster_heal daily heal_04 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete heal_04 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+---------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+-------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+-------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | BUILD | | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.94 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 7556a8bf-23a9-4531-b980-dafd9ba95f77 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.48; sa_08-vnf_with_v-external=192.168.133.226; sa_08-vnf_with_v-internal=192.168.207.133 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+-------------------------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_04 2>&1'. ${rc} = 0 ${stdout} = heal_04 ${stdout} ${ns} Fails if objects are equal after converting them to strings. heal_04 == heal_04 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep heal_04 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_04 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete autoheal_nsd 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep autoheal_nsd 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_04 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete autoheal_vnfd 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep autoheal_vnfd 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_heal daily heal_04 ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vdu_id} @{vim_vdus} e15615dd-623c-41c9-a53b-b99e38019488 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server e15615dd-623c-41c9-a53b-b99e38019488 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show e15615dd-623c-41c9-a53b-b99e38019488 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of 'e15615dd-623c-41c9-a53b-b99e38019488' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of 'e15615dd-623c-41c9-a53b-b99e38019488' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 is still in VIM ${status} Get Server Property ${vdu_id} id Runs the given keyword with the given arguments and ignores possible error. ${vdu_id} id Get a field (flavor, image, volumes_attached, etc.) from a server. ${server_id} Verifies that the given item is not empty. Length is 36 ${field} Verifies that the given item is not empty. Length is 2 ${rc} ${stdout} openstack server show ${server_id} -c ${field} -f value Runs the given command in the system and returns the RC and output. Running command 'openstack server show 7ef7bbd8-23ca-4c6b-941a-8535188c4f91 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No server with a name or ID of '7ef7bbd8-23ca-4c6b-941a-8535188c4f91' exists. ${stdout} Logs the given message with the given level. No server with a name or ID of '7ef7bbd8-23ca-4c6b-941a-8535188c4f91' exists. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${status} = ('FAIL', '1 != 0') ${status}[0] Logs the given message with the given level. FAIL ${error} 1 Returns the given values which can then be assigned to a variables. Deleting server ${vdu_id} Logs the given message with the given level. Delete Server ${vdu_id} Runs the given keyword with the given arguments and ignores possible error. Some objects created by test were not deleted in VIM Fails the test with the given message and optionally alters its tags. cleanup cluster_heal daily heal_04 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [HEAL-04] Autohealing of NS %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s02 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 913b1433-5044-4132-b1a7-b9d35b50b614 ${stdout} Logs the given message with the given level. 913b1433-5044-4132-b1a7-b9d35b50b614 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 913b1433-5044-4132-b1a7-b9d35b50b614 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 913b1433-5044-4132-b1a7-b9d35b50b614 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 0 ${stdout} = k8s02 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s02 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "913b1433-5044-4132-b1a7-b9d35b50b614" | | name | "k8s02" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "f6a79968-45e5-41a2-9e5c-d2f0b694392a" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711597832.679145, | | | "modified": 1711597837.991865, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711597832.679212, | | | "statusEnteredTime": 1711597832.679212, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "913b1433-5044-4132-b1a7-b9d35b50b614", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "913b1433-5044-4132-b1a7-b9d35b50b614", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "913b1433-5044-4132-b1a7-b9d35b50b614", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 913b1433-5044-4132-b1a7-b9d35b50b614 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s02 | 913b1433-5044-4132-b1a7-b9d35b50b614 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 0 ${stdout} = k8s02 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_02 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s02 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 0 ${stdout} = k8s02 ${stdout} Verifies that the given item is empty. Length is 5 'k8s02' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s02" | awk '{print $2}' | grep k8s02 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_02 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting K8s Cluster Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-02] K8s cluster addition. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_charm_vnf Package created: /robot-syste... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf.tar.gz 5568af4f-445a-4b29-88d5-af1a479c8147 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 5568af4f-445a-4b29-88d5-af1a479c8147 cluster_k8s daily k8s_03 regression sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/native_k8s_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_k8s_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_k8s_charm_ns Package created: /robot-systest... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_k8s_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_k8s_charm_ns Package created: /robot-systest/osm-packages/charm-packages/native_k8s_charm_ns.tar.gz 62070aae-396b-44b7-b5fd-823fd1e38b26 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 62070aae-396b-44b7-b5fd-823fd1e38b26 cluster_k8s daily k8s_03 regression sanity %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s03 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 08ee15c3-c915-4acf-9697-fe0ba573fd47 ${stdout} Logs the given message with the given level. 08ee15c3-c915-4acf-9697-fe0ba573fd47 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | 08ee15c3-c915-4acf-9697-fe0ba573fd47 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | 08ee15c3-c915-4acf-9697-fe0ba573fd47 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 0 ${stdout} = k8s03 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s03 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "08ee15c3-c915-4acf-9697-fe0ba573fd47" | | name | "k8s03" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "f6a79968-45e5-41a2-9e5c-d2f0b694392a" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711597891.8919642, | | | "modified": 1711597897.3978896, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711597891.8919985, | | | "statusEnteredTime": 1711597891.8919985, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "08ee15c3-c915-4acf-9697-fe0ba573fd47", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "08ee15c3-c915-4acf-9697-fe0ba573fd47", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "08ee15c3-c915-4acf-9697-fe0ba573fd47", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | 08ee15c3-c915-4acf-9697-fe0ba573fd47 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s03 | 08ee15c3-c915-4acf-9697-fe0ba573fd47 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 0 ${stdout} = k8s03 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_03 regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name native-k8s --nsd_name native_k8s_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = 548cde0a-19fd-40bd-bcde-dbe21ef585f9 ${stdout} Logs the given message with the given level. 548cde0a-19fd-40bd-bcde-dbe21ef585f9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 548cde0a-19fd-40bd-bcde-dbe21ef585f9 ${ns_id} Logs the given message with the given level. 548cde0a-19fd-40bd-bcde-dbe21ef585f9 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 6b367f20-8be4-4817-a435-59be59487557 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.141; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.144, 192.168.63.27 | ubuntu18.04 | simple_requires-1-1-flv | | f9eda5d8-c13c-436a-9cba-f5fd827bc2ea | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.104 | ubuntu18.04 | simple_requires-1-1-flv | | dc08e081-7f70-4b1d-8b3b-4df805218424 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.195; slicebasic.slice-nsd_vnfd_vld_dat=192.168.63.113 | ubuntu18.04 | simple_requires-1-1-flv | | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s | 548cde0a-19fd-40bd-bcde-dbe21ef585f9 | 2024-03-28T03:52:09 | BUILDING | INSTANTIATING (d9ce46db-9abf-4dc2-a6d4-e20fe58f8d6c) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s | 548cde0a-19fd-40bd-bcde-dbe21ef585f9 | 2024-03-28T03:52:09 | BUILDING | INSTANTIATING (d9ce46db-9abf-4dc2-a6d4-e20fe58f8d6c) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 6b367f20-8be4-4817-a435-59be59487557 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.141; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.144, 192.168.63.27 | ubuntu18.04 | simple_requires-1-1-flv | | f9eda5d8-c13c-436a-9cba-f5fd827bc2ea | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.104 | ubuntu18.04 | simple_requires-1-1-flv | | dc08e081-7f70-4b1d-8b3b-4df805218424 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.195; slicebasic.slice-nsd_vnfd_vld_dat=192.168.63.113 | ubuntu18.04 | simple_requires-1-1-flv | | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s | 548cde0a-19fd-40bd-bcde-dbe21ef585f9 | 2024-03-28T03:52:09 | BUILDING | INSTANTIATING (d9ce46db-9abf-4dc2-a6d4-e20fe58f8d6c) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s | 548cde0a-19fd-40bd-bcde-dbe21ef585f9 | 2024-03-28T03:52:09 | BUILDING | INSTANTIATING (d9ce46db-9abf-4dc2-a6d4-e20fe58f8d6c) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 6b367f20-8be4-4817-a435-59be59487557 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.141; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.144, 192.168.63.27 | ubuntu18.04 | simple_requires-1-1-flv | | f9eda5d8-c13c-436a-9cba-f5fd827bc2ea | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.104 | ubuntu18.04 | simple_requires-1-1-flv | | dc08e081-7f70-4b1d-8b3b-4df805218424 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.195; slicebasic.slice-nsd_vnfd_vld_dat=192.168.63.113 | ubuntu18.04 | simple_requires-1-1-flv | | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | native-k8s | 548cde0a-19fd-40bd-bcde-dbe21ef585f9 | 2024-03-28T03:52:09 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 6b367f20-8be4-4817-a435-59be59487557 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.141; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.144, 192.168.63.27 | ubuntu18.04 | simple_requires-1-1-flv | | f9eda5d8-c13c-436a-9cba-f5fd827bc2ea | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.104 | ubuntu18.04 | simple_requires-1-1-flv | | dc08e081-7f70-4b1d-8b3b-4df805218424 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.195; slicebasic.slice-nsd_vnfd_vld_dat=192.168.63.113 | ubuntu18.04 | simple_requires-1-1-flv | | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | native-k8s | 548cde0a-19fd-40bd-bcde-dbe21ef585f9 | 2024-03-28T03:52:09 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 548cde0a-19fd-40bd-bcde-dbe21ef585f9 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 548cde0a-19fd-40bd-bcde-dbe21ef585f9 cluster_k8s daily k8s_03 regression sanity ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${action_name} ${vnf_member_index} ${kdu_name} application-name=${application_name} customtitle=${customtitle} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} application-name=nginx ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = application-name=nginx ${param_name} = application-name ${param_value} = nginx ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "application-name":"nginx", customtitle=Day 2 Action ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = customtitle=Day 2 Action ${param_name} = customtitle ${param_value} = Day 2 Action ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "application-name":"nginx","customtitle":"Day 2 Action", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name changecontent --vnf_name native_k8s_charm-vnf --kdu_name native-kdu ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name changecontent --vnf_name native_k8s_charm-vnf --kdu_name native-kdu --params '{"application-name":"nginx","customtitle":"Day 2 Action",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name changecontent --vnf_name native_k8s_charm-vnf --kdu_name native-kdu --params '{"application-name":"nginx","customtitle":"Day 2 Action",}' native-k8s ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name changecontent --vnf_name native_k8s_charm-vnf --kdu_name native-kdu --params '{"application-name":"nginx","customtitle":"Day 2 Action",}' native-k8s 2>&1'. ${rc} = 0 ${stdout} = 56c7fb28-4545-432c-b112-ba4d640bcf19 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 56c7fb28-4545-432c-b112-ba4d640bcf19 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 56c7fb28-4545-432c-b112-ba4d640bcf19 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 56c7fb28-4545-432c-b112-ba4d640bcf19 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 56c7fb28-4545-432c-b112-ba4d640bcf19 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 56c7fb28-4545-432c-b112-ba4d640bcf19 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 56c7fb28-4545-432c-b112-ba4d640bcf19 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 56c7fb28-4545-432c-b112-ba4d640bcf19 Performs one Day 2 operation per VNF that creates a new file. cluster_k8s daily k8s_03 regression sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete native-k8s 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 6b367f20-8be4-4817-a435-59be59487557 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.141; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.144, 192.168.63.27 | ubuntu18.04 | simple_requires-1-1-flv | | f9eda5d8-c13c-436a-9cba-f5fd827bc2ea | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.104 | ubuntu18.04 | simple_requires-1-1-flv | | dc08e081-7f70-4b1d-8b3b-4df805218424 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.195; slicebasic.slice-nsd_vnfd_vld_dat=192.168.63.113 | ubuntu18.04 | simple_requires-1-1-flv | | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+---------------------------------------------------------------------------+-------------+---------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-----------------------------------------+ | 6b367f20-8be4-4817-a435-59be59487557 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.141; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.144 | ubuntu18.04 | simple_requires-1-1-flv | | f9eda5d8-c13c-436a-9cba-f5fd827bc2ea | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.171; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.104 | ubuntu18.04 | simple_requires-1-1-flv | | dc08e081-7f70-4b1d-8b3b-4df805218424 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.195 | ubuntu18.04 | simple_requires-1-1-flv | | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+---------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 0 ${stdout} = native-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s == native-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | b3b34d64-3bc4-4397-95f8-26e67e291505 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_03 regression sanity ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s03 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 0 ${stdout} = k8s03 ${stdout} Verifies that the given item is empty. Length is 5 'k8s03' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s03" | awk '{print $2}' | grep k8s03 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_03 regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_k8s_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_k8s_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_03 regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_k8s_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_k8s_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_03 regression sanity '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/native_k8s_charm_vnf'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/native_k8s_charm_ns'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = cleanup cluster_k8s daily k8s_03 regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-03] Simple K8s. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/openldap_knf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_knf Validation OK List of charms in the descriptor: set() Adding File: openldap_knf Package created: /robot-systest/osm-packages/openldap_knf.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_knf Validation OK List of charms in the descriptor: set() Adding File: openldap_knf Package created: /robot-systest/osm-packages/openldap_knf.tar.gz Uploading package /robot-systest/osm-packages/openldap_knf.tar.gz 09d8756d-1777-44ac-9f07-23c0fd623dad ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 09d8756d-1777-44ac-9f07-23c0fd623dad cluster_k8s daily k8s_04 prepare regression sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/openldap_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_ns Validation OK List of charms in the descriptor: set() Adding File: openldap_ns Package created: /robot-systest/osm-packages/openldap_ns.tar.g... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_ns Validation OK List of charms in the descriptor: set() Adding File: openldap_ns Package created: /robot-systest/osm-packages/openldap_ns.tar.gz 983380b7-5f16-4a62-8bac-e7bac5c8693a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 983380b7-5f16-4a62-8bac-e7bac5c8693a cluster_k8s daily k8s_04 prepare regression sanity %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s04 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 9ee8f915-4666-4400-b232-ae8a92ee4d27 ${stdout} Logs the given message with the given level. 9ee8f915-4666-4400-b232-ae8a92ee4d27 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | 9ee8f915-4666-4400-b232-ae8a92ee4d27 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | 9ee8f915-4666-4400-b232-ae8a92ee4d27 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 0 ${stdout} = k8s04 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s04 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "9ee8f915-4666-4400-b232-ae8a92ee4d27" | | name | "k8s04" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "f6a79968-45e5-41a2-9e5c-d2f0b694392a" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711598161.2644587, | | | "modified": 1711598167.0925596, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711598161.264508, | | | "statusEnteredTime": 1711598161.264508, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "9ee8f915-4666-4400-b232-ae8a92ee4d27", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "9ee8f915-4666-4400-b232-ae8a92ee4d27", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "9ee8f915-4666-4400-b232-ae8a92ee4d27", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | 9ee8f915-4666-4400-b232-ae8a92ee4d27 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s04 | 9ee8f915-4666-4400-b232-ae8a92ee4d27 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 0 ${stdout} = k8s04 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_04 prepare regression sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext}], additionalParamsForVnf: [ {member-vnf-index: openldap, additionalParamsForKdu: [ {kdu_name: ldap, additionalParams: {service: {type: Load... ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name ldap --nsd_name openldap_ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext}], additionalParamsForVnf: [ {member-vnf-index: openldap, additionalParamsForKdu: [ {kdu_name: ldap, additionalParams: {service: {type: LoadBalancer }, adminPassword: admin}} ] } ] }' 2>&1'. ${rc} = 0 ${stdout} = fd997a0a-fca6-4188-959b-b40a26963cb0 ${stdout} Logs the given message with the given level. fd997a0a-fca6-4188-959b-b40a26963cb0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = fd997a0a-fca6-4188-959b-b40a26963cb0 ${ns_id} Logs the given message with the given level. fd997a0a-fca6-4188-959b-b40a26963cb0 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 466830c0-e97d-472e-a26e-ff146994ecb7 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | BUILD | | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c0f8ba7-4c9b-47c5-992c-b7265473cedd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.229; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.234 | ubuntu18.04 | simple_requires-1-1-flv | | ed60be51-31ad-495f-adbc-6a23c87df2d4 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.149 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | fd997a0a-fca6-4188-959b-b40a26963cb0 | 2024-03-28T03:56:38 | BUILDING | INSTANTIATING (61069e63-9714-47f1-9242-54f92c734a05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | fd997a0a-fca6-4188-959b-b40a26963cb0 | 2024-03-28T03:56:38 | BUILDING | INSTANTIATING (61069e63-9714-47f1-9242-54f92c734a05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 466830c0-e97d-472e-a26e-ff146994ecb7 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 2c0f8ba7-4c9b-47c5-992c-b7265473cedd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.229; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.234 | ubuntu18.04 | simple_requires-1-1-flv | | ed60be51-31ad-495f-adbc-6a23c87df2d4 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.149 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | fd997a0a-fca6-4188-959b-b40a26963cb0 | 2024-03-28T03:56:38 | BUILDING | INSTANTIATING (61069e63-9714-47f1-9242-54f92c734a05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | fd997a0a-fca6-4188-959b-b40a26963cb0 | 2024-03-28T03:56:38 | BUILDING | INSTANTIATING (61069e63-9714-47f1-9242-54f92c734a05) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 311357df-784a-4ba0-95a1-e9046f16f9ec | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.7 | ubuntu18.04 | simple_requires-1-1-flv | | 2c0f8ba7-4c9b-47c5-992c-b7265473cedd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.229; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.234 | ubuntu18.04 | simple_requires-1-1-flv | | ed60be51-31ad-495f-adbc-6a23c87df2d4 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.149 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | fd997a0a-fca6-4188-959b-b40a26963cb0 | 2024-03-28T03:56:38 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 311357df-784a-4ba0-95a1-e9046f16f9ec | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.7 | ubuntu18.04 | simple_requires-1-1-flv | | 2c0f8ba7-4c9b-47c5-992c-b7265473cedd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.229; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.234 | ubuntu18.04 | simple_requires-1-1-flv | | ed60be51-31ad-495f-adbc-6a23c87df2d4 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.149 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | fd997a0a-fca6-4188-959b-b40a26963cb0 | 2024-03-28T03:56:38 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = fd997a0a-fca6-4188-959b-b40a26963cb0 cluster_k8s daily k8s_04 prepare regression sanity ${id} ${ns_name} ${ns_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-list | grep ${ns_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep ldap | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = fd997a0a-fca6-4188-959b-b40a26963cb0 ${stdout} Logs the given message with the given level. fd997a0a-fca6-4188-959b-b40a26963cb0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 36 ${id} = fd997a0a-fca6-4188-959b-b40a26963cb0 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = fd997a0a-fca6-4188-959b-b40a26963cb0 cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep fd997a0a-fca6-4188-959b-b40a26963cb0 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 378b7521-ca1d-472d-8092-ac32322c9d2d ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ 378b7521-ca1d-472d-8092-ac32322c9d2d ] @{vnfr_list} = [ 378b7521-ca1d-472d-8092-ac32322c9d2d ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 378b7521-ca1d-472d-8092-ac32322c9d2d ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 378b7521-ca1d-472d-8092-ac32322c9d2d cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${upgrade_action} ${vnf_member_index} ${kdu_name} replicaCount=${replica_count} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} replicaCount=3 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = replicaCount=3 ${param_name} = replicaCount ${param_value} = 3 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "replicaCount":"3", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap --params '{"replicaCount":"3",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap --params '{"replicaCount":"3",}' ldap ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap --params '{"replicaCount":"3",}' ldap 2>&1'. ${rc} = 0 ${stdout} = a7737094-6185-44a0-aef2-f4660ad427c0 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a7737094-6185-44a0-aef2-f4660ad427c0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a7737094-6185-44a0-aef2-f4660ad427c0 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a7737094-6185-44a0-aef2-f4660ad427c0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a7737094-6185-44a0-aef2-f4660ad427c0 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a7737094-6185-44a0-aef2-f4660ad427c0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id a7737094-6185-44a0-aef2-f4660ad427c0 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a7737094-6185-44a0-aef2-f4660ad427c0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a7737094-6185-44a0-aef2-f4660ad427c0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = a7737094-6185-44a0-aef2-f4660ad427c0 cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 378b7521-ca1d-472d-8092-ac32322c9d2d --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = 3 ${count} = 3 ${count} Logs the given message with the given level. 3 ${count} ${replica_count} Fails if objects are unequal after converting them to integers. cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${rollback_action} ${vnf_member_index} ${kdu_name} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap 2>&1'. ${rc} = 0 ${stdout} = d8df5fad-507b-45eb-af65-a586f1d1ad09 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d8df5fad-507b-45eb-af65-a586f1d1ad09 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id d8df5fad-507b-45eb-af65-a586f1d1ad09 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d8df5fad-507b-45eb-af65-a586f1d1ad09 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d8df5fad-507b-45eb-af65-a586f1d1ad09 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = d8df5fad-507b-45eb-af65-a586f1d1ad09 cluster_k8s daily k8s_04 regression sanity verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 378b7521-ca1d-472d-8092-ac32322c9d2d --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = null ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = ${count} = ${count} Logs the given message with the given level. ${count} Verifies that the given item is empty. Length is 0 cluster_k8s daily k8s_04 regression sanity verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 311357df-784a-4ba0-95a1-e9046f16f9ec | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.7 | ubuntu18.04 | simple_requires-1-1-flv | | 2c0f8ba7-4c9b-47c5-992c-b7265473cedd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.229; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.234 | ubuntu18.04 | simple_requires-1-1-flv | | ed60be51-31ad-495f-adbc-6a23c87df2d4 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.149 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 311357df-784a-4ba0-95a1-e9046f16f9ec | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.7 | ubuntu18.04 | simple_requires-1-1-flv | | 2c0f8ba7-4c9b-47c5-992c-b7265473cedd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.229; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.234 | ubuntu18.04 | simple_requires-1-1-flv | | ed60be51-31ad-495f-adbc-6a23c87df2d4 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.149 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_04 regression sanity ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s04 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 0 ${stdout} = k8s04 ${stdout} Verifies that the given item is empty. Length is 5 'k8s04' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s04" | awk '{print $2}' | grep k8s04 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_04 regression sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete openldap_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep openldap_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_04 regression sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete openldap_knf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep openldap_knf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_04 regression sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-04] Openldap Helm chart. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: k8s_proxy_charm_vnf Package created: /robot-sy... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: k8s_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_vnf.tar.gz b4af1153-bfad-4fde-96a3-8a52d09b1e4a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = b4af1153-bfad-4fde-96a3-8a52d09b1e4a cluster_ee_config cluster_k8s_charms daily k8s_05 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/k8s_proxy_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: k8s_proxy_charm_ns Package created: /robot-systest/o... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: k8s_proxy_charm_ns Package created: /robot-systest/osm-packages/charm-packages/k8s_proxy_charm_ns.tar.gz b5108367-f815-4d80-86c2-1503a968aaf7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = b5108367-f815-4d80-86c2-1503a968aaf7 cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name k8s_05-k8s_proxy_charm --nsd_name k8s_proxy_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 21ad4dcc-6274-4f04-b34e-3b9af1540199 ${stdout} Logs the given message with the given level. 21ad4dcc-6274-4f04-b34e-3b9af1540199 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 21ad4dcc-6274-4f04-b34e-3b9af1540199 ${ns_id} Logs the given message with the given level. 21ad4dcc-6274-4f04-b34e-3b9af1540199 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | 311357df-784a-4ba0-95a1-e9046f16f9ec | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.7 | ubuntu18.04 | simple_requires-1-1-flv | | 2c0f8ba7-4c9b-47c5-992c-b7265473cedd | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.229; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.234 | ubuntu18.04 | simple_requires-1-1-flv | | ed60be51-31ad-495f-adbc-6a23c87df2d4 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.148; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.149 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_05-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | BUILDING | INSTANTIATING (1b15b240-e93d-4835-848e-b82785f3e368) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | BUILDING | INSTANTIATING (1b15b240-e93d-4835-848e-b82785f3e368) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | e9fccb86-53e3-4026-8b53-55dcb8908631 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.160; osm-ext=172.21.248.105 | ubuntu18.04 | simple_requires-1-1-flv | | 9f1c06ab-9707-48bf-a50b-5f1e73e8bc0e | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.162; osm-ext=172.21.249.62 | ubuntu18.04 | simple_requires-1-1-flv | | 311357df-784a-4ba0-95a1-e9046f16f9ec | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.7 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_05-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | BUILDING | INSTANTIATING (1b15b240-e93d-4835-848e-b82785f3e368) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | BUILDING | INSTANTIATING (1b15b240-e93d-4835-848e-b82785f3e368) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ | e9fccb86-53e3-4026-8b53-55dcb8908631 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.160; osm-ext=172.21.248.105 | ubuntu18.04 | simple_requires-1-1-flv | | 9f1c06ab-9707-48bf-a50b-5f1e73e8bc0e | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.162; osm-ext=172.21.249.62 | ubuntu18.04 | simple_requires-1-1-flv | | 311357df-784a-4ba0-95a1-e9046f16f9ec | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.217.7 | ubuntu18.04 | simple_requires-1-1-flv | | 04941e78-b324-4c0b-8410-1998676a4699 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.8; slicebasic.slice-nsd_vnfd_vld_dat=192.168.120.165, 192.168.217.235 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_05-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | BUILDING | INSTANTIATING (1b15b240-e93d-4835-848e-b82785f3e368) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | BUILDING | INSTANTIATING (1b15b240-e93d-4835-848e-b82785f3e368) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | e9fccb86-53e3-4026-8b53-55dcb8908631 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.160; osm-ext=172.21.248.105 | ubuntu18.04 | simple_requires-1-1-flv | | 9f1c06ab-9707-48bf-a50b-5f1e73e8bc0e | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.162; osm-ext=172.21.249.62 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_05-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | e9fccb86-53e3-4026-8b53-55dcb8908631 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.160; osm-ext=172.21.248.105 | ubuntu18.04 | simple_requires-1-1-flv | | 9f1c06ab-9707-48bf-a50b-5f1e73e8bc0e | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.162; osm-ext=172.21.249.62 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_05-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_05-k8s_proxy_charm | 21ad4dcc-6274-4f04-b34e-3b9af1540199 | 2024-03-28T04:00:11 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 21ad4dcc-6274-4f04-b34e-3b9af1540199 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 21ad4dcc-6274-4f04-b34e-3b9af1540199 cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${ip_addr_1} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 21ad4dcc-6274-4f04-b34e-3b9af1540199 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.62 ${stdout} Logs the given message with the given level. 172.21.249.62 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_1} = 172.21.249.62 ${ip_addr_1} Logs the given message with the given level. 172.21.249.62 ${vnf_1_ip_addr} ${ip_addr_1} Makes a variable available everywhere within the scope of the current suite. ${vnf_1_ip_addr} = 172.21.249.62 ${ip_addr_2} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep 21ad4dcc-6274-4f04-b34e-3b9af1540199 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.105 ${stdout} Logs the given message with the given level. 172.21.248.105 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.248.105 ${ip_addr_2} Logs the given message with the given level. 172.21.248.105 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.248.105 cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:02:29 UTC 2024 System load: 0.1 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.62 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.105:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:02:30 UTC 2024 System load: 0.22 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.105 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:02:32 UTC 2024 System load: 0.1 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.62 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:02:29 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.105:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:02:34 UTC 2024 System load: 0.2 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.105 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:02:31 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id_1} ${ns_name} ${action_name} ${vnf_member_index_1} filename=${day_2_file_name_1} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_05-k8s_proxy_charm ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = d5b4413a-021b-4ee6-a65a-017c43b93904 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d5b4413a-021b-4ee6-a65a-017c43b93904 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id d5b4413a-021b-4ee6-a65a-017c43b93904 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d5b4413a-021b-4ee6-a65a-017c43b93904 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show d5b4413a-021b-4ee6-a65a-017c43b93904 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = d5b4413a-021b-4ee6-a65a-017c43b93904 ${ns_op_id_2} ${ns_name} ${action_name} ${vnf_member_index_2} filename=${day_2_file_name_2} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch2 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch2 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch2 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch2", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' k8s_05-k8s_proxy_charm ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = aa4c032d-512c-4753-9a20-d896a3d69cea ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show aa4c032d-512c-4753-9a20-d896a3d69cea --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id aa4c032d-512c-4753-9a20-d896a3d69cea ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show aa4c032d-512c-4753-9a20-d896a3d69cea --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show aa4c032d-512c-4753-9a20-d896a3d69cea --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = aa4c032d-512c-4753-9a20-d896a3d69cea Performs one Day 2 operation per VNF that creates a new file. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.62:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:03:16 UTC 2024 System load: 0.04 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.62 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:02:32 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch1 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.105:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:03:18 UTC 2024 System load: 0.1 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.105 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:02:34 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-05-k8s-proxy-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ffcccfc6-7429-4bc3-83a5-f20e1d511be8 | sol003-instance--1-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 5d9035d2-2c6c-41ee-ab8e-a19a8fdc3248 | sol003-instance--1-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.195 | ubuntu20.04 | simple_requires-1-1-flv | | e9fccb86-53e3-4026-8b53-55dcb8908631 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.160; osm-ext=172.21.248.105 | ubuntu18.04 | simple_requires-1-1-flv | | 9f1c06ab-9707-48bf-a50b-5f1e73e8bc0e | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.18.162; osm-ext=172.21.249.62 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ffcccfc6-7429-4bc3-83a5-f20e1d511be8 | sol003-instance--1-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.103 | ubuntu20.04 | simple_requires-1-1-flv | | 5d9035d2-2c6c-41ee-ab8e-a19a8fdc3248 | sol003-instance--1-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.195 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ffcccfc6-7429-4bc3-83a5-f20e1d511be8 | sol003-instance--1-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.103 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_05-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_05-k8s_proxy_charm == k8s_05-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_05-k8s_proxy_charm 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete k8s_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep k8s_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_05 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete k8s_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep k8s_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_05 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-05] K8s Proxy Charm. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: nopasswd_k8s_proxy_charm_vnf Package ... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} Adding File: nopasswd_k8s_proxy_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_vnf.tar.gz b3c63598-21d3-4dc1-b549-1763ddc4a074 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = b3c63598-21d3-4dc1-b549-1763ddc4a074 cluster_ee_config cluster_k8s_charms daily k8s_06 prepare regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: nopasswd_k8s_proxy_charm_ns Package created... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_ns Validation OK List of charms in the descriptor: set() Adding File: nopasswd_k8s_proxy_charm_ns Package created: /robot-systest/osm-packages/charm-packages/nopasswd_k8s_proxy_charm_ns.tar.gz 6ce10468-4c38-4e0d-985c-42d02a8a1e01 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 6ce10468-4c38-4e0d-985c-42d02a8a1e01 cluster_ee_config cluster_k8s_charms daily k8s_06 prepare regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name k8s_06-nopasswd_k8s_proxy_charm --nsd_name nopasswd_k8s_proxy_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 206a68df-35fe-461a-ae7c-8e535fa2f0c1 ${stdout} Logs the given message with the given level. 206a68df-35fe-461a-ae7c-8e535fa2f0c1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 206a68df-35fe-461a-ae7c-8e535fa2f0c1 ${ns_id} Logs the given message with the given level. 206a68df-35fe-461a-ae7c-8e535fa2f0c1 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_06-nopasswd_k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | BUILDING | INSTANTIATING (5bccf39d-6486-4536-982b-243cdbf077c8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | BUILDING | INSTANTIATING (5bccf39d-6486-4536-982b-243cdbf077c8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a94fc3ae-a92c-4a82-9b85-627661176b1b | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.34; osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | abcd14b2-f3c8-4572-bbd3-aec2d70cfefe | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.98; osm-ext=172.21.249.122 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_06-nopasswd_k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | BUILDING | INSTANTIATING (5bccf39d-6486-4536-982b-243cdbf077c8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | BUILDING | INSTANTIATING (5bccf39d-6486-4536-982b-243cdbf077c8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a94fc3ae-a92c-4a82-9b85-627661176b1b | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.34; osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | abcd14b2-f3c8-4572-bbd3-aec2d70cfefe | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.98; osm-ext=172.21.249.122 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_06-nopasswd_k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | BUILDING | INSTANTIATING (5bccf39d-6486-4536-982b-243cdbf077c8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | BUILDING | INSTANTIATING (5bccf39d-6486-4536-982b-243cdbf077c8) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a94fc3ae-a92c-4a82-9b85-627661176b1b | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.34; osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | abcd14b2-f3c8-4572-bbd3-aec2d70cfefe | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.98; osm-ext=172.21.249.122 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_06-nopasswd_k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a94fc3ae-a92c-4a82-9b85-627661176b1b | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.34; osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | abcd14b2-f3c8-4572-bbd3-aec2d70cfefe | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.98; osm-ext=172.21.249.122 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_06-nopasswd_k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_06-nopasswd_k8s_proxy_charm | 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | 2024-03-28T04:05:04 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 206a68df-35fe-461a-ae7c-8e535fa2f0c1 cluster_ee_config cluster_k8s_charms daily k8s_06 prepare regression ${id} ${ns_name} ${ns_name} Verifies that the given item is not empty. Length is 31 ${rc} ${stdout} osm ns-list | grep ${ns_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep k8s_06-nopasswd_k8s_proxy_charm | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 206a68df-35fe-461a-ae7c-8e535fa2f0c1 ${stdout} Logs the given message with the given level. 206a68df-35fe-461a-ae7c-8e535fa2f0c1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 36 ${id} = 206a68df-35fe-461a-ae7c-8e535fa2f0c1 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 206a68df-35fe-461a-ae7c-8e535fa2f0c1 cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${ip_addr_1} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.122 ${stdout} Logs the given message with the given level. 172.21.249.122 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_1} = 172.21.249.122 ${ip_addr_1} Logs the given message with the given level. 172.21.249.122 ${vnf_1_ip_addr} ${ip_addr_1} Makes a variable available everywhere within the scope of the current suite. ${vnf_1_ip_addr} = 172.21.249.122 ${ip_addr_2} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep 206a68df-35fe-461a-ae7c-8e535fa2f0c1 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.154 ${stdout} Logs the given message with the given level. 172.21.249.154 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.249.154 ${ip_addr_2} Logs the given message with the given level. 172.21.249.154 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.249.154 cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.122:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:07:22 UTC 2024 System load: 0.21 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.122 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.154:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:07:24 UTC 2024 System load: 0.12 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.154 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.122:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:07:26 UTC 2024 System load: 0.19 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.122 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:07:23 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.154:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:07:28 UTC 2024 System load: 0.11 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.154 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:07:25 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id_1} ${ns_name} ${action_name} ${vnf_member_index_1} filename=${day_2_file_name_1} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_06-nopasswd_k8s_proxy_charm ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = 4d47ff05-c2e1-4602-a89c-2ca650f37edb ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4d47ff05-c2e1-4602-a89c-2ca650f37edb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4d47ff05-c2e1-4602-a89c-2ca650f37edb ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4d47ff05-c2e1-4602-a89c-2ca650f37edb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4d47ff05-c2e1-4602-a89c-2ca650f37edb --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = 4d47ff05-c2e1-4602-a89c-2ca650f37edb ${ns_op_id_2} ${ns_name} ${action_name} ${vnf_member_index_2} filename=${day_2_file_name_2} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch2 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch2 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch2 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch2", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' k8s_06-nopasswd_k8s_proxy_charm ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = afbcd23d-cb65-48c7-9bd2-8b5482368ca3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show afbcd23d-cb65-48c7-9bd2-8b5482368ca3 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id afbcd23d-cb65-48c7-9bd2-8b5482368ca3 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show afbcd23d-cb65-48c7-9bd2-8b5482368ca3 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show afbcd23d-cb65-48c7-9bd2-8b5482368ca3 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = afbcd23d-cb65-48c7-9bd2-8b5482368ca3 Performs one Day 2 operation per VNF that creates a new file. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.122:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:08:10 UTC 2024 System load: 0.09 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.122 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:07:26 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch1 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.154:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:08:11 UTC 2024 System load: 0.05 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.154 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:07:28 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-06-nopasswd--vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. cluster_ee_config cluster_k8s_charms daily k8s_06 regression verify ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | a94fc3ae-a92c-4a82-9b85-627661176b1b | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.34; osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | abcd14b2-f3c8-4572-bbd3-aec2d70cfefe | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.166.98; osm-ext=172.21.249.122 | ubuntu18.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_06-nopasswd_k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_06-nopasswd_k8s_proxy_charm == k8s_06-nopasswd_k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | d9be4850-eebb-45dc-ae4f-66386ebf5e44 | lcmop_01_cancel_-simple-mgmtVM-0 | BUILD | | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | 38998b71-64ae-48cf-8e4b-6706cbb7b771 | osm-v140-merge-279 | ACTIVE | osm-ext=172.21.249.57 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_06-nopasswd_k8s_proxy_charm 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_06 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete nopasswd_k8s_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep nopasswd_k8s_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_06 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete nopasswd_k8s_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep nopasswd_k8s_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_06 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-06] K8s Secure Key Management. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/openldap_knf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_knf Validation OK List of charms in the descriptor: set() Adding File: openldap_knf Package created: /robot-systest/osm-packages/openldap_knf.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_knf Validation OK List of charms in the descriptor: set() Adding File: openldap_knf Package created: /robot-systest/osm-packages/openldap_knf.tar.gz Uploading package /robot-systest/osm-packages/openldap_knf.tar.gz e6a26056-eee0-474e-9f58-b6e2df4fd843 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = e6a26056-eee0-474e-9f58-b6e2df4fd843 cluster_k8s daily k8s_07 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/openldap_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_ns Validation OK List of charms in the descriptor: set() Adding File: openldap_ns Package created: /robot-systest/osm-packages/openldap_ns.tar.g... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_ns Validation OK List of charms in the descriptor: set() Adding File: openldap_ns Package created: /robot-systest/osm-packages/openldap_ns.tar.gz 5299ef54-ad9b-4c0c-8e27-03978aade6b4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 5299ef54-ad9b-4c0c-8e27-03978aade6b4 cluster_k8s daily k8s_07 regression ${created_vim_account_id} ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} Create a VIM Target in OSM. The optional parameters (such as 'config' or 'sdn_controller') are given to this function in name=value format. These parameters will be appended to the 'osm vim-create' command with the next syntax: --param_name=param_value Return the ID of the created VIM Target. Example of execution: ${vim_account_id}= Create VIM Target ${vim_name} ${vim_user} ${vim_password} ${vim_auth_url} ${vim_tenant} ${vim_account_type} config='{...}' ${osm_vim_create_command} osm vim-create --name ${vim_name} --user ${vim_user} --password ${vim_password} --auth_url ${vim_auth_url} --tenant ${vim_tenant} --account_type ${vim_account_type} Returns the given values which can then be assigned to a variables. ${osm_vim_create_command} = osm vim-create --name k8s07_dummy --user user --password pass --auth_url http://localhost/dummy --tenant tenant --account_type dummy ${param} @{optional_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${osm_vim_create_command} ${osm_vim_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${rc} ${stdout} ${osm_vim_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm vim-create --name k8s07_dummy --user user --password pass --auth_url http://localhost/dummy --tenant tenant --account_type dummy 2>&1'. ${rc} = 0 ${stdout} = 2828f6cb-4730-41e6-97a9-2ed870f2e898 ${stdout} Logs the given message with the given level. 2828f6cb-4730-41e6-97a9-2ed870f2e898 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_vim_account_id} = 2828f6cb-4730-41e6-97a9-2ed870f2e898 cluster_k8s daily k8s_07 regression %{K8S_CREDENTIALS} ${k8scluster_version} ${vim_name} ${k8scluster_net} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim k8s07_dummy --k8s-nets '{"net1": "null"}' k8s07 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = dcaae14e-0629-4136-a4d0-43d203fc9548 ${stdout} Logs the given message with the given level. dcaae14e-0629-4136-a4d0-43d203fc9548 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s07" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s07 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s07" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state deta... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-------------+-------------------+-------------------+ | k8s07 | dcaae14e-0629-4136-a4d0-43d203fc9548 | k8s07_dummy | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-------------+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-------------+-------------------+-------------------+ | k8s07 | dcaae14e-0629-4136-a4d0-43d203fc9548 | k8s07_dummy | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-------------+-------------------+-------------------+" | awk '{print $2}' | grep k8s07 2>&1'. ${rc} = 0 ${stdout} = k8s07 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s07 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "dcaae14e-0629-4136-a4d0-43d203fc9548" | | name | "k8s07" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "2828f6cb-4730-41e6-97a9-2ed870f2e898" | | nets | { | | | "net1": "null" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711599016.473633, | | | "modified": 1711599022.287178, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711599016.4736755, | | | "statusEnteredTime": 1711599016.4736755, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "dcaae14e-0629-4136-a4d0-43d203fc9548", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "dcaae14e-0629-4136-a4d0-43d203fc9548", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "dcaae14e-0629-4136-a4d0-43d203fc9548", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s07" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state deta... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-------------+-------------------+-------------------+ | k8s07 | dcaae14e-0629-4136-a4d0-43d203fc9548 | k8s07_dummy | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-------------+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-------------+-------------------+-------------------+ | k8s07 | dcaae14e-0629-4136-a4d0-43d203fc9548 | k8s07_dummy | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-------------+-------------------+-------------------+" | awk '{print $2}' | grep k8s07 2>&1'. ${rc} = 0 ${stdout} = k8s07 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_07 regression ${id} ${nsd_name} ${vim_name} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name ldap --nsd_name openldap_ns --vim_account k8s07_dummy 2>&1'. ${rc} = 0 ${stdout} = beac9bd1-ebbd-4b8b-aa43-a148377983c9 ${stdout} Logs the given message with the given level. beac9bd1-ebbd-4b8b-aa43-a148377983c9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = beac9bd1-ebbd-4b8b-aa43-a148377983c9 ${ns_id} Logs the given message with the given level. beac9bd1-ebbd-4b8b-aa43-a148377983c9 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | beac9bd1-ebbd-4b8b-aa43-a148377983c9 | 2024-03-28T04:10:53 | BUILDING | INSTANTIATING (bf8d416f-eb75-465d-94d4-8100e7a18f74) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | beac9bd1-ebbd-4b8b-aa43-a148377983c9 | 2024-03-28T04:10:53 | BUILDING | INSTANTIATING (bf8d416f-eb75-465d-94d4-8100e7a18f74) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | beac9bd1-ebbd-4b8b-aa43-a148377983c9 | 2024-03-28T04:10:53 | BUILDING | INSTANTIATING (bf8d416f-eb75-465d-94d4-8100e7a18f74) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | beac9bd1-ebbd-4b8b-aa43-a148377983c9 | 2024-03-28T04:10:53 | BUILDING | INSTANTIATING (bf8d416f-eb75-465d-94d4-8100e7a18f74) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | beac9bd1-ebbd-4b8b-aa43-a148377983c9 | 2024-03-28T04:10:53 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | beac9bd1-ebbd-4b8b-aa43-a148377983c9 | 2024-03-28T04:10:53 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = beac9bd1-ebbd-4b8b-aa43-a148377983c9 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = beac9bd1-ebbd-4b8b-aa43-a148377983c9 cluster_k8s daily k8s_07 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s07 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s07" | awk '{print $2}' | grep k8s07 2>&1'. ${rc} = 0 ${stdout} = k8s07 ${stdout} Verifies that the given item is empty. Length is 5 'k8s07' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s07" | awk '{print $2}' | grep k8s07 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_07 regression ${vim_name} ${rc} ${stdout} Run and Return RC and Output osm vim-delete ${vim_name} Runs the keyword and continues execution even if a failure occurs. osm vim-delete ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-delete k8s07_dummy 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${delete_max_wait_time} ${delete_pol_time} Check for VIM Target ${vim_name} Runs the specified keyword and retries if it fails. ${vim_name} ${rc} ${stdout} osm vim-list | awk '{print $2}' | grep ${vim_name} Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | awk '{print $2}' | grep k8s07_dummy 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${vim_name} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete openldap_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep openldap_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete openldap_knf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep openldap_knf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_07 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance, cluster and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VIM Target ${vim_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-07] Openldap Helm in isolated cluster with dummy VIM. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_scale_charm_vnf Package created: ... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: native_k8s_scale_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_vnf.tar.gz 7aa475cf-1051-4ace-978a-fb0c84c114bc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 7aa475cf-1051-4ace-978a-fb0c84c114bc cluster_k8s daily k8s_08 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_k8s_scale_charm_ns Package created: /r... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_ns Validation OK List of charms in the descriptor: set() Adding File: native_k8s_scale_charm_ns Package created: /robot-systest/osm-packages/charm-packages/native_k8s_scale_charm_ns.tar.gz bbd2bfa5-a660-4b7b-b9c6-9e2a62f022ea ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = bbd2bfa5-a660-4b7b-b9c6-9e2a62f022ea cluster_k8s daily k8s_08 regression %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s08 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = c84cd2c3-eed1-4725-bf3a-bec41e67f3bd ${stdout} Logs the given message with the given level. c84cd2c3-eed1-4725-bf3a-bec41e67f3bd ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | c84cd2c3-eed1-4725-bf3a-bec41e67f3bd | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | c84cd2c3-eed1-4725-bf3a-bec41e67f3bd | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 0 ${stdout} = k8s08 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s08 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "c84cd2c3-eed1-4725-bf3a-bec41e67f3bd" | | name | "k8s08" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "f6a79968-45e5-41a2-9e5c-d2f0b694392a" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711599184.0297163, | | | "modified": 1711599189.5741036, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711599184.0297492, | | | "statusEnteredTime": 1711599184.0297492, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "c84cd2c3-eed1-4725-bf3a-bec41e67f3bd", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "c84cd2c3-eed1-4725-bf3a-bec41e67f3bd", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "c84cd2c3-eed1-4725-bf3a-bec41e67f3bd", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | c84cd2c3-eed1-4725-bf3a-bec41e67f3bd | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s08 | c84cd2c3-eed1-4725-bf3a-bec41e67f3bd | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 0 ${stdout} = k8s08 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_08 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name native-k8s-scale --nsd_name native_k8s_scale_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 726c25c4-b604-43f3-a927-633078b168be ${stdout} Logs the given message with the given level. 726c25c4-b604-43f3-a927-633078b168be ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 726c25c4-b604-43f3-a927-633078b168be ${ns_id} Logs the given message with the given level. 726c25c4-b604-43f3-a927-633078b168be ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s-scale | 726c25c4-b604-43f3-a927-633078b168be | 2024-03-28T04:13:41 | BUILDING | INSTANTIATING (e4d2fa79-020f-4c1a-ae16-c56e8ba1720e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s-scale | 726c25c4-b604-43f3-a927-633078b168be | 2024-03-28T04:13:41 | BUILDING | INSTANTIATING (e4d2fa79-020f-4c1a-ae16-c56e8ba1720e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s-scale | 726c25c4-b604-43f3-a927-633078b168be | 2024-03-28T04:13:41 | BUILDING | INSTANTIATING (e4d2fa79-020f-4c1a-ae16-c56e8ba1720e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | native-k8s-scale | 726c25c4-b604-43f3-a927-633078b168be | 2024-03-28T04:13:41 | BUILDING | INSTANTIATING (e4d2fa79-020f-4c1a-ae16-c56e8ba1720e) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | native-k8s-scale | 726c25c4-b604-43f3-a927-633078b168be | 2024-03-28T04:13:41 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 629d9825-522d-46d7-8881-46bf74ffe845 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="native-k8s-scale" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | native-k8s-scale | 726c25c4-b604-43f3-a927-633078b168be | 2024-03-28T04:13:41 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 726c25c4-b604-43f3-a927-633078b168be ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 726c25c4-b604-43f3-a927-633078b168be cluster_k8s daily k8s_08 regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${name} %{OSM_HOSTNAME} ${username} ${password} ${privatekey} ${ns_id} ${kdu_name} ${ns_id} ${kdu_name} Verifies that the given item is not empty. Length is 36 ${host} ${endpoint} :([0-9]+)$ Removes ``patterns`` from the given ``string``. ${host} = 172.21.249.182 ${stdout} ${host} ${username} ${password} ${privatekey} juju models | grep -i ${kdu_name} | grep -i ${ns_id} | cut -f1 -d " " ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.182:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:14:55 UTC 2024 System load: 0.8 Users logged in: 0 Usage of /: 23.8% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 29% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.182 Processes: 398 IPv4 address for lxdbr0: 10.63.216.1 213 updates can be applied immediately. 159 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 01:37:11 2024 from 172.21.249.4 ubuntu@osm-v120-merge-697:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'juju models | grep -i native-kdu | grep -i 726c25c4-b604-43f3-a927-633078b168be | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = native-kdu-726c25c4-b604-43f3-a927-633078b168be ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. native-kdu-726c25c4-b604-43f3-a927-633078b168be Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = native-kdu-726c25c4-b604-43f3-a927-633078b168be ${stdout} Logs the given message with the given level. native-kdu-726c25c4-b604-43f3-a927-633078b168be ${model_name} ${kdu_name}-${ns_id} Returns the given values which can then be assigned to a variables. ${model_name} = native-kdu-726c25c4-b604-43f3-a927-633078b168be ${model_name} ${stdout} Fails if objects are unequal after converting them to strings. ${name} = native-kdu-726c25c4-b604-43f3-a927-633078b168be ${model_name} ${name} Makes a variable available everywhere within the scope of the current suite. ${model_name} = native-kdu-726c25c4-b604-43f3-a927-633078b168be Get the model name of the network service k8s instance cluster_k8s daily k8s_08 regression ${model_name} msg=Model name is not available Fails unless the given variable exists within the current scope. ${kdu_count} %{OSM_HOSTNAME} ${username} ${password} ${privatekey} ${application_name} ${model_name} ${application_name} ${model_name} Verifies that the given item is not empty. Length is 5 ${host} ${endpoint} :([0-9]+)$ Removes ``patterns`` from the given ``string``. ${host} = 172.21.249.182 ${stdout} ${host} ${username} ${password} ${privatekey} juju show-status ${application_name} --format yaml -m ${model_name} | grep scale | awk -F ': ' '{print $2}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.182:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:14:58 UTC 2024 System load: 0.8 Users logged in: 0 Usage of /: 23.8% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 29% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.182 Processes: 400 IPv4 address for lxdbr0: 10.63.216.1 213 updates can be applied immediately. 159 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 04:14:56 2024 from 172.21.249.4 ubuntu@osm-v120-merge-697:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'juju show-status nginx --format yaml -m native-kdu-726c25c4-b604-43f3-a927-633078b168be | grep scale | awk -F ': ' '{print $2}''. Command exited with return code 0. ${stdout} = 1 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${kdu_count} = 1 ${initial_kdu_count} ${kdu_count} Makes a variable available everywhere within the scope of the current suite. ${initial_kdu_count} = 1 Get the scale count of the application of network service k8s instance cluster_k8s daily k8s_08 regression ${ns_op_id_2} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_OUT Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-out Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-out ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-out native-k8s-scale native_k8s_scale_charm-vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group scale-kdu --scale-out native-k8s-scale native_k8s_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = 8036a88b-71f3-4946-8ee7-a3f925d78bb5 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 8036a88b-71f3-4946-8ee7-a3f925d78bb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 8036a88b-71f3-4946-8ee7-a3f925d78bb5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 8036a88b-71f3-4946-8ee7-a3f925d78bb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 8036a88b-71f3-4946-8ee7-a3f925d78bb5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 8036a88b-71f3-4946-8ee7-a3f925d78bb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 8036a88b-71f3-4946-8ee7-a3f925d78bb5 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 8036a88b-71f3-4946-8ee7-a3f925d78bb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 8036a88b-71f3-4946-8ee7-a3f925d78bb5 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = 8036a88b-71f3-4946-8ee7-a3f925d78bb5 Scale out the application of network service k8s instance. cluster_k8s daily k8s_08 regression ${initial_kdu_count} msg=Initial KDU count is not available Fails unless the given variable exists within the current scope. ${kdu_count} %{OSM_HOSTNAME} ${username} ${password} ${privatekey} ${application_name} ${model_name} ${application_name} ${model_name} Verifies that the given item is not empty. Length is 5 ${host} ${endpoint} :([0-9]+)$ Removes ``patterns`` from the given ``string``. ${host} = 172.21.249.182 ${stdout} ${host} ${username} ${password} ${privatekey} juju show-status ${application_name} --format yaml -m ${model_name} | grep scale | awk -F ': ' '{print $2}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.182:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:15:51 UTC 2024 System load: 0.84 Users logged in: 0 Usage of /: 23.8% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 29% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.182 Processes: 397 IPv4 address for lxdbr0: 10.63.216.1 213 updates can be applied immediately. 159 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 04:14:58 2024 from 172.21.249.4 ubuntu@osm-v120-merge-697:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'juju show-status nginx --format yaml -m native-kdu-726c25c4-b604-43f3-a927-633078b168be | grep scale | awk -F ': ' '{print $2}''. Command exited with return code 0. ${stdout} = 2 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 2 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 2 ${stdout} Logs the given message with the given level. 2 ${kdu_count} = 2 ${kdu_count} != ${initial_kdu_count} + 1 Fail msg=There is no new KDU in the model after Scale Out Runs the given keyword with the given arguments, if ``condition`` is true. Check whether the scale count is more than one. cluster_k8s daily k8s_08 regression ${ns_op_id_3} ${ns_name} ${vnf_member_index} ${scaling_group} SCALE_IN Execute a manual VNF Scale action. The parameter 'scale_type' must be SCALE_IN or SCALE_OUT. Return the ID of the operation associated to the executed scale action. ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} result_format=number Converts between supported `time formats`. ${vnf_scale_max_wait_time} = 120.0 ${vnf_scale_max_wait_time} ${vnf_scale_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${vnf_scale_max_wait_time} = 120.0 ${scale_type} SCALE_IN SCALE_OUT msg=Unknown scale type: ${scale_type} values=False Fails if ``container`` does not contain any of the ``*items``. ${osm_vnf_scale_command} osm vnf-scale --scaling-group ${scaling_group} Returns the given values which can then be assigned to a variables. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu ${osm_vnf_scale_command} '${scale_type}'=='SCALE_IN' Catenate ${osm_vnf_scale_command} --scale-in ELSE Catenate ${osm_vnf_scale_command} --scale-out Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_vnf_scale_command} --scale-in Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-in ${osm_vnf_scale_command} ${osm_vnf_scale_command} ${ns_name} ${vnf_member_index} Catenates the given items together and returns the resulted string. ${osm_vnf_scale_command} = osm vnf-scale --scaling-group scale-kdu --scale-in native-k8s-scale native_k8s_scale_charm-vnf ${rc} ${stdout} ${osm_vnf_scale_command} Runs the given command in the system and returns the RC and output. Running command 'osm vnf-scale --scaling-group scale-kdu --scale-in native-k8s-scale native_k8s_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_scale_max_wait_time} ${vnf_scale_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_3} = c85a1a1e-dba7-4b57-b0e4-a5c74dff6af0 Scale in the application of network service k8s instance. cluster_k8s daily k8s_08 regression ${kdu_count} %{OSM_HOSTNAME} ${username} ${password} ${privatekey} ${application_name} ${model_name} ${application_name} ${model_name} Verifies that the given item is not empty. Length is 5 ${host} ${endpoint} :([0-9]+)$ Removes ``patterns`` from the given ``string``. ${host} = 172.21.249.182 ${stdout} ${host} ${username} ${password} ${privatekey} juju show-status ${application_name} --format yaml -m ${model_name} | grep scale | awk -F ': ' '{print $2}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.182:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:16:45 UTC 2024 System load: 0.64 Users logged in: 0 Usage of /: 23.8% of 116.13GB IPv4 address for cni0: 10.244.0.1 Memory usage: 29% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.182 Processes: 398 IPv4 address for lxdbr0: 10.63.216.1 213 updates can be applied immediately. 159 of these updates are standard security updates. To see these additional updates run: apt list --upgradable New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. *** System restart required *** Last login: Thu Mar 28 04:15:52 2024 from 172.21.249.4 ubuntu@osm-v120-merge-697:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'juju show-status nginx --format yaml -m native-kdu-726c25c4-b604-43f3-a927-633078b168be | grep scale | awk -F ': ' '{print $2}''. Command exited with return code 0. ${stdout} = 1 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 1 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${kdu_count} = 1 ${kdu_count} != ${initial_kdu_count} Fail msg=There is the same number of KDU in the model after Scale In Runs the given keyword with the given arguments, if ``condition`` is true. Check whether the scale count is one less. cluster_k8s daily k8s_08 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 0 ${stdout} = native-k8s-scale ${stdout} ${ns} Fails if objects are equal after converting them to strings. native-k8s-scale == native-k8s-scale ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep native-k8s-scale 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_08 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s08 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 0 ${stdout} = k8s08 ${stdout} Verifies that the given item is empty. Length is 5 'k8s08' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s08" | awk '{print $2}' | grep k8s08 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_08 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete native_k8s_scale_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep native_k8s_scale_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_08 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete native_k8s_scale_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep native_k8s_scale_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_08 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-08] Simple K8s Scale. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/pebble_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/pebble_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: pebble_charm_vnf Package created: /robot-systest/osm-p... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/pebble_charm_vnf Validation OK List of charms in the descriptor: set() Adding File: pebble_charm_vnf Package created: /robot-systest/osm-packages/charm-packages/pebble_charm_vnf.tar.gz Uploading package /robot-systest/osm-packages/charm-packages/pebble_charm_vnf.tar.gz fd81f221-af29-4e74-8359-dbe3d5a39603 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = fd81f221-af29-4e74-8359-dbe3d5a39603 cluster_k8s daily k8s_09 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/pebble_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/pebble_charm_ns Validation OK List of charms in the descriptor: set() Adding File: pebble_charm_ns Package created: /robot-systest/osm-pac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/pebble_charm_ns Validation OK List of charms in the descriptor: set() Adding File: pebble_charm_ns Package created: /robot-systest/osm-packages/charm-packages/pebble_charm_ns.tar.gz 26adadb5-4c48-4b26-a3a5-e23591467d95 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 26adadb5-4c48-4b26-a3a5-e23591467d95 cluster_k8s daily k8s_09 regression %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s-test --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3 ${stdout} Logs the given message with the given level. 09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +---... ${stdout} Logs the given message with the given level. +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 0 ${stdout} = k8s-test ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s-test 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3" | | name | "k8s-test" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "f6a79968-45e5-41a2-9e5c-d2f0b694392a" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711599529.704584, | | | "modified": 1711599535.644382, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711599529.7046273, | | | "statusEnteredTime": 1711599529.7046273, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +---... ${stdout} Logs the given message with the given level. +----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+----------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +----------+--------------------------------------+-----+-------------------+-------------------+ | k8s-test | 09d7a7e5-e0f4-48c7-b87f-ddba435c4fa3 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +----------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 0 ${stdout} = k8s-test ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_09 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name pebble-charm-k8s --nsd_name pebble_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 ${stdout} Logs the given message with the given level. 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 ${ns_id} Logs the given message with the given level. 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | BUILDING | INSTANTIATING (b88fcc8e-52e8-4561-925f-b29bb025b2ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | BUILDING | INSTANTIATING (b88fcc8e-52e8-4561-925f-b29bb025b2ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | BUILDING | INSTANTIATING (b88fcc8e-52e8-4561-925f-b29bb025b2ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | BUILDING | INSTANTIATING (b88fcc8e-52e8-4561-925f-b29bb025b2ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | BUILD | | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | BUILDING | INSTANTIATING (b88fcc8e-52e8-4561-925f-b29bb025b2ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | BUILDING | INSTANTIATING (b88fcc8e-52e8-4561-925f-b29bb025b2ac) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="pebble-charm-k8s" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | pebble-charm-k8s | 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 | 2024-03-28T04:19:26 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 5b6edbfc-a61c-47e6-bff1-fb261844e5f9 cluster_k8s daily k8s_09 regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${action_name} ${vnf_member_index} ${kdu_name} application-name=${application_name} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} application-name=onos ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = application-name=onos ${param_name} = application-name ${param_value} = onos ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "application-name":"onos", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name list-available-apps --vnf_name pebble_charm-vnf --kdu_name onos-kdu ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name list-available-apps --vnf_name pebble_charm-vnf --kdu_name onos-kdu --params '{"application-name":"onos",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name list-available-apps --vnf_name pebble_charm-vnf --kdu_name onos-kdu --params '{"application-name":"onos",}' pebble-charm-k8s ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name list-available-apps --vnf_name pebble_charm-vnf --kdu_name onos-kdu --params '{"application-name":"onos",}' pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = 5a837c35-af65-4fe1-ad16-4a48de81728f ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a837c35-af65-4fe1-ad16-4a48de81728f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 5a837c35-af65-4fe1-ad16-4a48de81728f ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a837c35-af65-4fe1-ad16-4a48de81728f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5a837c35-af65-4fe1-ad16-4a48de81728f --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 5a837c35-af65-4fe1-ad16-4a48de81728f Performs one Day 2 operation per VNF that creates a new file. cluster_k8s daily k8s_09 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 0 ${stdout} = pebble-charm-k8s ${stdout} ${ns} Fails if objects are equal after converting them to strings. pebble-charm-k8s == pebble-charm-k8s ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep pebble-charm-k8s 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_09 regression ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s-test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 0 ${stdout} = k8s-test ${stdout} Verifies that the given item is empty. Length is 8 'k8s-test' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s-test" | awk '{print $2}' | grep k8s-test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_09 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete pebble_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep pebble_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_09 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete pebble_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep pebble_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_09 regression '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/pebble_charm_vnf'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} rm ${pkg}.tar.gz Runs the given command in the system and returns the RC and output. Running command 'rm '/robot-systest/osm-packages/charm-packages/pebble_charm_ns'.tar.gz 2>&1'. ${rc} = 0 ${stdout} = cleanup cluster_k8s daily k8s_09 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-09] Pebble Charm. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/charm-packages/sol004_k8s_proxy_charm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/sol004_k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} SOL004 Package created: /robot-systest/sol004_k8s_pr... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/sol004_k8s_proxy_charm_vnf Validation OK List of charms in the descriptor: {'simple'} SOL004 Package created: /robot-systest/sol004_k8s_proxy_charm_vnf.zip Uploading package /robot-systest/sol004_k8s_proxy_charm_vnf.zip 1a98afc5-f1e7-4ec0-a76a-dab35e5de51b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 1a98afc5-f1e7-4ec0-a76a-dab35e5de51b cluster_ee_config cluster_k8s_charms daily k8s_10 regression '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/charm-packages/sol007_k8s_proxy_charm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/charm-packages/sol007_k8s_proxy_charm_ns Validation OK List of charms in the descriptor: set() SOL007 Package created: /robot-systest/sol007_k8s_proxy_ch... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/charm-packages/sol007_k8s_proxy_charm_ns Validation OK List of charms in the descriptor: set() SOL007 Package created: /robot-systest/sol007_k8s_proxy_charm_ns.zip 2818ad2c-630d-414a-9fa6-93170cfb5952 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 2818ad2c-630d-414a-9fa6-93170cfb5952 cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_timeout} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 900.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 900.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name k8s_10-k8s_proxy_charm --nsd_name sol007_k8s_proxy_charm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = d2e14e09-2be7-4f3f-a220-693bde487925 ${stdout} Logs the given message with the given level. d2e14e09-2be7-4f3f-a220-693bde487925 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d2e14e09-2be7-4f3f-a220-693bde487925 ${ns_id} Logs the given message with the given level. d2e14e09-2be7-4f3f-a220-693bde487925 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | BUILDING | INSTANTIATING (175bc3f8-a7bd-463a-a8db-c00159724b2b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | BUILDING | INSTANTIATING (175bc3f8-a7bd-463a-a8db-c00159724b2b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 19169c55-0bfb-4ec5-8f88-9dbe6e58482b | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.161; osm-ext=172.21.249.9 | ubuntu18.04 | simple_requires-1-1-flv | | a2f24250-1cf9-4e0d-910e-901ebcb44f0b | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.194; osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | BUILDING | INSTANTIATING (175bc3f8-a7bd-463a-a8db-c00159724b2b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | BUILDING | INSTANTIATING (175bc3f8-a7bd-463a-a8db-c00159724b2b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 19169c55-0bfb-4ec5-8f88-9dbe6e58482b | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.161; osm-ext=172.21.249.9 | ubuntu18.04 | simple_requires-1-1-flv | | a2f24250-1cf9-4e0d-910e-901ebcb44f0b | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.194; osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | BUILDING | INSTANTIATING (175bc3f8-a7bd-463a-a8db-c00159724b2b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | BUILDING | INSTANTIATING (175bc3f8-a7bd-463a-a8db-c00159724b2b) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 19169c55-0bfb-4ec5-8f88-9dbe6e58482b | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.161; osm-ext=172.21.249.9 | ubuntu18.04 | simple_requires-1-1-flv | | a2f24250-1cf9-4e0d-910e-901ebcb44f0b | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.194; osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 19169c55-0bfb-4ec5-8f88-9dbe6e58482b | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.161; osm-ext=172.21.249.9 | ubuntu18.04 | simple_requires-1-1-flv | | a2f24250-1cf9-4e0d-910e-901ebcb44f0b | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.194; osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="k8s_10-k8s_proxy_charm" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id |... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | k8s_10-k8s_proxy_charm | d2e14e09-2be7-4f3f-a220-693bde487925 | 2024-03-28T04:23:19 | READY | IDLE (None) | N/A | +------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = d2e14e09-2be7-4f3f-a220-693bde487925 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d2e14e09-2be7-4f3f-a220-693bde487925 cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${ip_addr_1} ${ns_id} ${vnf_member_index_1} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf1 | grep d2e14e09-2be7-4f3f-a220-693bde487925 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.136 ${stdout} Logs the given message with the given level. 172.21.248.136 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_1} = 172.21.248.136 ${ip_addr_1} Logs the given message with the given level. 172.21.248.136 ${vnf_1_ip_addr} ${ip_addr_1} Makes a variable available everywhere within the scope of the current suite. ${vnf_1_ip_addr} = 172.21.248.136 ${ip_addr_2} ${ns_id} ${vnf_member_index_2} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf2 | grep d2e14e09-2be7-4f3f-a220-693bde487925 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.9 ${stdout} Logs the given message with the given level. 172.21.249.9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr_2} = 172.21.249.9 ${ip_addr_2} Logs the given message with the given level. 172.21.249.9 ${vnf_2_ip_addr} ${ip_addr_2} Makes a variable available everywhere within the scope of the current suite. ${vnf_2_ip_addr} = 172.21.249.9 cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnf_1_ip_addr} msg=IP address of the management VNF '${vnf_member_index_1}' is not available Fails unless the given variable exists within the current scope. ${vnf_2_ip_addr} msg=IP address of the management VNF '${vnf_member_index_2}' is not available Fails unless the given variable exists within the current scope. 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.136:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:25:36 UTC 2024 System load: 0.28 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.136 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-vnf1-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.9:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:25:38 UTC 2024 System load: 0.2 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.9 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-vnf2-mgmtvm-0:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.136:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:25:40 UTC 2024 System load: 0.28 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.136 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:25:37 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_1_file_name} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.9:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:25:41 UTC 2024 System load: 0.2 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.9 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:25:38 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/first-touch >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> The Charm VNF has a Day 1 operation that creates a file named /home/ubuntu/first-touch. This test checks whether that files have been created or not. cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id_1} ${ns_name} ${action_name} ${vnf_member_index_1} filename=${day_2_file_name_1} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch1 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch1", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_10-k8s_proxy_charm ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf1 --params '{"filename":"/home/ubuntu/mytouch1",}' k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = efca8ca1-3535-4fb6-9f87-95709668a622 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show efca8ca1-3535-4fb6-9f87-95709668a622 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id efca8ca1-3535-4fb6-9f87-95709668a622 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show efca8ca1-3535-4fb6-9f87-95709668a622 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show efca8ca1-3535-4fb6-9f87-95709668a622 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_1} = efca8ca1-3535-4fb6-9f87-95709668a622 ${ns_op_id_2} ${ns_name} ${action_name} ${vnf_member_index_2} filename=${day_2_file_name_2} Execute an action over the desired NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} filename=/home/ubuntu/mytouch2 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = filename=/home/ubuntu/mytouch2 ${param_name} = filename ${param_value} = /home/ubuntu/mytouch2 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "filename":"/home/ubuntu/mytouch2", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' k8s_10-k8s_proxy_charm ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name touch --vnf_name vnf2 --params '{"filename":"/home/ubuntu/mytouch2",}' k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = 4051abdc-0409-4a4d-979d-45531f63fd29 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4051abdc-0409-4a4d-979d-45531f63fd29 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 4051abdc-0409-4a4d-979d-45531f63fd29 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4051abdc-0409-4a4d-979d-45531f63fd29 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4051abdc-0409-4a4d-979d-45531f63fd29 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id_2} = 4051abdc-0409-4a4d-979d-45531f63fd29 Performs one Day 2 operation per VNF that creates a new file. cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnf_1_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_1} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.136:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:26:23 UTC 2024 System load: 0.13 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.136 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:25:40 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-vnf1-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch1 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_2_ip_addr} ${username} ${password} ${privatekey} ${day_2_file_name_2} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.9:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:26:25 UTC 2024 System load: 0.09 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.9 Swap usage: 0% 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:25:42 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@k8s-10-k8s-proxy-vnf2-mgmtvm-0:~$ ${rc} ls ${file} >& /dev/null return_stdout=False return_rc=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ls /home/ubuntu/mytouch2 >& /dev/null'. Command exited with return code 0. ${rc} = 0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Check whether the files created in the previous test via Day 2 operations exist or not. cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 19169c55-0bfb-4ec5-8f88-9dbe6e58482b | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.161; osm-ext=172.21.249.9 | ubuntu18.04 | simple_requires-1-1-flv | | a2f24250-1cf9-4e0d-910e-901ebcb44f0b | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.52.194; osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 0 ${stdout} = k8s_10-k8s_proxy_charm ${stdout} ${ns} Fails if objects are equal after converting them to strings. k8s_10-k8s_proxy_charm == k8s_10-k8s_proxy_charm ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep k8s_10-k8s_proxy_charm 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete sol007_k8s_proxy_charm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep sol007_k8s_proxy_charm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_10 regression ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete sol004_k8s_proxy_charm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep sol004_k8s_proxy_charm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_ee_config cluster_k8s_charms daily k8s_10 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-10] K8s Proxy Charm using SOL004 and SOL007 packages. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/openldap_primitives_knf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_primitives_knf Validation OK List of charms in the descriptor: {'openldap-proxy_ubuntu-20.04-amd64.charm'} Adding File: openldap_primitives_knf ... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_primitives_knf Validation OK List of charms in the descriptor: {'openldap-proxy_ubuntu-20.04-amd64.charm'} Adding File: openldap_primitives_knf Package created: /robot-systest/osm-packages/openldap_primitives_knf.tar.gz Uploading package /robot-systest/osm-packages/openldap_primitives_knf.tar.gz b2c5334d-215a-4265-ae70-83083900fd35 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = b2c5334d-215a-4265-ae70-83083900fd35 cluster_k8s daily k8s_12 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/openldap_primitives_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/openldap_primitives_ns Validation OK List of charms in the descriptor: set() Adding File: openldap_primitives_ns Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/openldap_primitives_ns Validation OK List of charms in the descriptor: set() Adding File: openldap_primitives_ns Package created: /robot-systest/osm-packages/openldap_primitives_ns.tar.gz 8c03118b-24a7-4825-adda-ca7eef9abac9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 8c03118b-24a7-4825-adda-ca7eef9abac9 cluster_k8s daily k8s_12 %{K8S_CREDENTIALS} ${k8scluster_version} %{VIM_TARGET} %{VIM_MGMT_NET} ${k8scluster_name} ${rc} ${stdout} osm k8scluster-add --creds ${k8scluster_creds} --version ${k8scluster_version} --vim ${k8scluster_vim} --k8s-nets '{"net1": "${k8scluster_net}"}' ${k8scluster_name} --description "Robot cluster" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-add --creds /root/.kube/config --version v1 --vim osm --k8s-nets '{"net1": "osm-ext"}' k8s12 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = cd0fede0-364e-4de3-9c5e-37a78bb748a1 ${stdout} Logs the given message with the given level. cd0fede0-364e-4de3-9c5e-37a78bb748a1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_launch_max_wait_time} ${k8scluster_launch_pol_time} Check For K8s Cluster To Be Ready ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s12" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-... ${stdout} Logs the given message with the given level. +------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+------+----+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +------+----+-----+-------------------+-------------------+ +------+----+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s12 2>&1'. ${rc} = 1 ${stdout} = ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED,DEGRADED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s12" --filter _admin.operationalState="ENABLED,DEGRADED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s12 | cd0fede0-364e-4de3-9c5e-37a78bb748a1 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s12 | cd0fede0-364e-4de3-9c5e-37a78bb748a1 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s12 2>&1'. ${rc} = 0 ${stdout} = k8s12 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. ${k8scluster_name} ${rc2} ${stdout2} osm k8scluster-show ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-show k8s12 2>&1'. ${rc2} = 0 ${stdout2} = +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute ... ${stdout2} Logs the given message with the given level. +----------------+------------------------------------------------------------------------------------------------------+ | key | attribute | +----------------+------------------------------------------------------------------------------------------------------+ | _id | "cd0fede0-364e-4de3-9c5e-37a78bb748a1" | | name | "k8s12" | | credentials | { | | | "apiVersion": "v1", | | | "clusters": [ | | | { | | | "cluster": { | | | "certificate-authority-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvakNDQWVhZ0F3SUJBZ | | | 0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFWTVJNd0VRWURWUVFERXdwcmRXSmwKY201bGRHVnpNQjRYRFRJeU1EY3dOekl5TlRrM | | | U9Gb1hEVE15TURjd05ESXlOVGsxT0Zvd0ZURVRNQkVHQTFVRQpBeE1LYTNWaVpYSnVaWFJsY3pDQ0FTSXdEUVlKS29aSWh2Y05BU | | | UVCQlFBRGdnRVBBRENDQVFvQ2dnRUJBTFVDCjdXUkFZTU90SmJ1U1loQ2FrVDZ3VUdKZEtZdUdRb29xd3F5WStnRW8yU1RnZEhPZ | | | EdpZzVJMjF3cG9tdFV1V2sKREhmZUJHMHIvRGkvUHdML3VEb0tqUFVvdU5JdTBYc1FTYXIrOGNMTkdWSDczSnBJcWRaZDVEREthd | | | WFacU9ONQovdlJjdVBiWHdLNldkRmdldDB3RWQycVlKQytmNk9Dcm5oUnlSOGJvWVdxZ2kvNzhNSHFwMERNQ0I4TDFHRHVmCjdJV | | | EFodUtBaUM1a2llQ1NzY1cwT0NVdTZPazdCVTZVc3dhd2phRVlWbUVkS0Flb0o2UWNGTHBnWkFvdDA2aFIKYlRqTmNkLzdLRDNCZ | | | VJWc3QycGZqL2lQdlVXaDBiR1VWREZDRXV1UC9VTUNRdHZ6SWVIUEhZamtjNkZYSldWSwpyZGk5bGNuV1FRSlVJVENLcFlzQ0F3R | | | UFBYU5aTUZjd0RnWURWUjBQQVFIL0JBUURBZ0trTUE4R0ExVWRFd0VCCi93UUZNQU1CQWY4d0hRWURWUjBPQkJZRUZQMGRZVzdhV | | | VlMZ0dpNk53aW1iV3llUWh0bjZNQlVHQTFVZEVRUU8KTUF5Q0NtdDFZbVZ5Ym1WMFpYTXdEUVlKS29aSWh2Y05BUUVMQlFBRGdnR | | | UJBQVBoNGhOUGlPUlZVZXQzRXgwTgpHekNUM1Q1OUtzMHFaa0JUMnpkM29qc0tsUS9LTS85TzJEa2YzdElnbkV6ZWlIdlMzUExTa | | | TZkaDhISzE3MlNQCnMyUy95bW5nTWZMMlkyYU85ZTA2L3B1NEFvUG56c2ZSOFhzNnVXc2N5UkdVbXNMcjR5eVBFaythL0F4OXcxS | | | 2MKeHFQZDB2bXo4OVZMVHFHb2hjZVJKcmVkMU1RcnNnMnMzR1pzRDU4MVRpVlI0bGQ3VlpNSnpGM01Wa3hOazNnagp6dm5SQU01M | | | HhPdmx1ek9ZVHo5aEthRjk0QTVta2pzck02ZStmdHN0dEpzQWduWnpIVHlaUFFkYW9TTE9YeWx6CnY2VGhrYjZvLzFXWjVTQjMrc | | | CttRlJYYmN4UC9tS04zNktiem5UOWJpVlJTRkVXcWswTmdHdUZiNDBvNkJLM3gKckFRPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tL | | | S0tCg==", | | | "server": "https://172.21.248.125:6443" | | | }, | | | "name": "cluster.local" | | | } | | | ], | | | "contexts": [ | | | { | | | "context": { | | | "cluster": "cluster.local", | | | "user": "kubernetes-admin" | | | }, | | | "name": "kubernetes-admin@cluster.local" | | | } | | | ], | | | "current-context": "kubernetes-admin@cluster.local", | | | "kind": "Config", | | | "preferences": {}, | | | "users": [ | | | { | | | "name": "kubernetes-admin", | | | "user": { | | | "client-certificate-data": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURJVENDQWdtZ0F3SUJBZ0lJ | | | RlhiYW9UR0N5cGN3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOREEwTURJeU1qSTFORFZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXZv | | | ZVNEL2d5MGNhZDZxNm0KNEptL01qNHRKTFp4amQ0OFlFenF3YUwxcS9OREFSaDl6ZDJnS1pVMnFtUW1Ub3E3QWFIWEg4bkZqRklt | | | Y3R6bgpGckF1MURtR05IdGZhRTJPQlBtNlVPZGtmUjM4eUhsd3pWWFk2d1ZPdGoyOUJrOG5lNE1FcXE4NHlQUFloNlFXCngwaHRJ | | | c2RLeG1kc3R4VGlwTVBDd3NYWjdIRnIwdVg0UEJPUys4RGpLYWpjOURRYS8xYUJjQW5xRjZyalVvZVoKb3BNcWZRbHFmMjFGNGtK | | | VmNmRXprY094S3E5MFBXbVl5dnNPdThiWEdyeEI0ZHpSY1hDdE5iV1diSVlsTjlodwppbVBORHJQY3BUVk9saXhHMU0yaFBQOGdV | | | WUt2M1VycTB6aElzU3NMZ3Z1MFpSckFEODNVeThJL0gyZm90NXRhCi85MmN0UUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBUW9BZmF1RTI1RTZxN0M5YTI3ZkViQnByUkhs | | | Qnd2ZVhFbzZWCk82ZDNFaS9WcGtxcjlJVlhLOW9HZ2duUkg1cExlVFdGSXJPVmFyaEtSZlF5TTlqWU9hYS9vajVoeUNkdElVMzMK | | | SnBGRXRsWW5nNzZQRXgxVW16M3Z3Q2VkMzU4aGdvRW91R0lkSWtYNm41RUZvZStMYnVjdWxnSHBNeWNxRWxVcwpsdHF4cEhPNlh5 | | | bWdSekd0V0ZnMVo3V0YrcDhNQi85aVpoWFc4dkpGb1p1OURhWnVyZFlnOUo3a0xZNkU5MkNaClNXeDJ2c2d5dG5iUHlReWhnbFoy | | | OEduZHhZek9jZW50VkNQK25ib1FralBkQXRWQXVzWkhIdlEvUCs2aUNsQ3IKM0NoOExvSzQ5d3hCL2RaMVFrbjF5dVBOQnJRSzFH | | | QkpLaDFWOGltRmlRbUM4bllGVlE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFb2dJQkFBS0NBUUVBdm9lU0Qv | | | Z3kwY2FkNnE2bTRKbS9NajR0SkxaeGpkNDhZRXpxd2FMMXEvTkRBUmg5CnpkMmdLWlUycW1RbVRvcTdBYUhYSDhuRmpGSW1jdHpu | | | RnJBdTFEbUdOSHRmYUUyT0JQbTZVT2RrZlIzOHlIbHcKelZYWTZ3Vk90ajI5Qms4bmU0TUVxcTg0eVBQWWg2UVd4MGh0SXNkS3ht | | | ZHN0eFRpcE1QQ3dzWFo3SEZyMHVYNApQQk9TKzhEakthamM5RFFhLzFhQmNBbnFGNnJqVW9lWm9wTXFmUWxxZjIxRjRrSlZjZkV6 | | | a2NPeEtxOTBQV21ZCnl2c091OGJYR3J4QjRkelJjWEN0TmJXV2JJWWxOOWh3aW1QTkRyUGNwVFZPbGl4RzFNMmhQUDhnVVlLdjNV | | | cnEKMHpoSXNTc0xndnUwWlJyQUQ4M1V5OEkvSDJmb3Q1dGEvOTJjdFFJREFRQUJBb0lCQUM1czJGRmQxL3czbWtrUgo3NFd3ME43 | | | TU9iSEZadHY3dDloN1JZU1RVYXRwWmYxQlczNHJMNWlTVERTdW5JcnMwTzV2NGZ4VDdQZnBHSWRLCmZtQ1A0NGxBend2QXVCbXhO | | | QmJRUnU3cHd4bWRrZmZEWjVJUkJmOFdWdnlmQkkwaUFtdmRHK2ovTXlYOEROblkKU05pY05FT1NMZzAwTEZCY0hYR3FaYTJTQ2l6 | | | TGRxbEJNcmF1QTNTVng3VzA5YmVMZldCZlNQMlh3Y1NaSUg1UQphaE4xd2xxN3N2UG53dWMrUWJuWmxZa1dHUWdXOWQyRnowZ3Fw | | | SUZ2ODN1Qkp3TkovajlGSFU3Ym1NUmludkxsCmpxK2RVQ2IwYlF0R2M1QWNXT2NibUtnNmhHcEF2NytqVDRKcUw0a3dWSlIwbk5o | | | VTBSM3VlWHl0QjU3WDBqenMKM2lyMEN5MENnWUVBM3U3Q3o5KytuNitjbGV2NVYwcDZualZIcm1zS211eGtZakZQRWdDc2gwUSs4 | | | UlZ1T2pjagpyRm1xbVRsemdwY2ViOXNBai9GWkN2d1NxYWVUYlpBSkJoVE1oSFByZ2t1MWIybjFnL3lzWCtzOFp5UVppZHJUCkI3 | | | aGhtRHZNT2Y5K3J2QWUrQWZYemhWMXZ4UVZraWU3bmVwbkNnc3Q0ZUJkLzMzS3dHNWZTVThDZ1lFQTJzcGsKeWhGa0dQb1ROVGYz | | | eEc2NkdRL3hWbDBzRkFaWGJvYlR3SmZCZ3p0akdGSDhmK3owN3FMSGVHMjBXNjlRL1dNYQoxcE85R0tzSVQxRHdaRW1hY1ZQRk1L | | | RHhlUk40b1ZNRUtjSGx5cms4VGUydHpFb2JUV01zMUJiR0drUEM2dUNtCmhRQ0tidG41bURjbjU0VFQxUktpdmRBU3c2L1BaWGg2 | | | Zy9lbjhMc0NnWUJnZXY2T3ptdUdXbzh2QnhnN0lmMmQKT0x2VURYbGlnUW9Vd1BoU2R6NHpzR0o1SGVnOWc1Mkp1cWl0ZFlLN01z | | | RzJjUloyTldKdThaYjJHNU1mYUtXdgpIeE5BQTVjYUpiL1kvd2VGWHJZUE1SUk1Jd0IyZStDMng2SmRLd3dBMGNVMjJxN2NjekIv | | | ZlNRZlZRYmM0UnMrCmhiS2dVeVJCVEVRQ0RhUFEwak9rMndLQmdGN3JEMjdhdktKWlc1dnEvQUtzUnZBNGltcjlZUElQRGo5Vkh1 | | | aWUKN2NVUkxweU9kUXpLc0RnWFJwSm9oYWFCR0pIVlBQOTZlTDhLOUQvMHpWVzAyTnZ4aThyZEIrV1BIUFpnSFo1QQpFSUV5ZTRj | | | VFppTUt3MjEvYVNOWi9mZkhEZmo0SFVYMlJoaHhXR2RCQm43YWtVd1BHYXRmYWNTYnNVNUVSbUthClByR2hBb0dBVEJkc1crTzhh | | | Snd6YnJlZ2Qwd2U5cDFobHd6bFZyZEwyTWNvTlNLL2FpTi9QbURRUERoYVZxamsKaGhWQm5KazB1eFVZeUFxL2dYOW1yMnV4NDc1 | | | SzZmTHp6b25EYnRoTWJxbDNnMVBMMjFJMjFSVytZWE9JQ3NEbAptaG9YemVYSW84WXJpQTBvRDcrZEk0TU9rUUM0Wndvd3hwS2o0 | | | YUVRaTIvVm9xTnZPRUk9Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg==" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "f6a79968-45e5-41a2-9e5c-d2f0b694392a" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1711600091.2663755, | | | "modified": 1711600096.854349, | | | "projects_read": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "projects_write": [ | | | "cb9b4047-c325-4482-bfb0-0566c86b4c50" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1711600091.2664282, | | | "statusEnteredTime": 1711600091.2664282, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; ", | | | "operationParams": null, | | | "worker": null | | | } | | | ], | | | "current_operation": null, | | | "helm_chart_repos": [], | | | "juju_bundle_repos": [], | | | "juju-bundle": { | | | "created": true, | | | "error_msg": null, | | | "id": "cd0fede0-364e-4de3-9c5e-37a78bb748a1", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "cd0fede0-364e-4de3-9c5e-37a78bb748a1", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "cd0fede0-364e-4de3-9c5e-37a78bb748a1", | | | "operationalState": "ENABLED" | | | }, | | | "detailed-status": "ready for juju-bundle, helm-chart, helm-chart-v3; " | | | } | | schema_version | "1.11" | +----------------+------------------------------------------------------------------------------------------------------+ ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" --filter _admin.operationalState="ENABLED" Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s12" --filter _admin.operationalState="ENABLED" 2>&1'. ${rc} = 0 ${stdout} = +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+-... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s12 | cd0fede0-364e-4de3-9c5e-37a78bb748a1 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+ ${rc} ${stdout} echo "${stdout}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'echo "+-------+--------------------------------------+-----+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+-----+-------------------+-------------------+ | k8s12 | cd0fede0-364e-4de3-9c5e-37a78bb748a1 | osm | ENABLED | Helm: ENABLED | | | | | | Juju: ENABLED | +-------+--------------------------------------+-----+-------------------+-------------------+" | awk '{print $2}' | grep k8s12 2>&1'. ${rc} = 0 ${stdout} = k8s12 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${k8scluster_name} Fails if objects are unequal after converting them to strings. cluster_k8s daily k8s_12 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext}], additionalParamsForVnf: [ {member-vnf-index: openldap, additionalParamsForKdu: [ {kdu_name: ldap, additionalParams: {service: {type: Load... ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name ldap --nsd_name openldap_ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext}], additionalParamsForVnf: [ {member-vnf-index: openldap, additionalParamsForKdu: [ {kdu_name: ldap, additionalParams: {service: {type: LoadBalancer }, adminPassword: admin}} ] } ] }' 2>&1'. ${rc} = 0 ${stdout} = 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 ${stdout} Logs the given message with the given level. 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 ${ns_id} Logs the given message with the given level. 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | BUILDING | INSTANTIATING (f5dc6b42-99b1-4ab7-bdbc-fac0b64d87a6) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | BUILDING | INSTANTIATING (f5dc6b42-99b1-4ab7-bdbc-fac0b64d87a6) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | BUILDING | INSTANTIATING (f5dc6b42-99b1-4ab7-bdbc-fac0b64d87a6) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | BUILDING | INSTANTIATING (f5dc6b42-99b1-4ab7-bdbc-fac0b64d87a6) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ | d4a3fec6-cf90-4a41-8214-3b19f7254c51 | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.15 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 5f61577c-18c6-4cc4-b67a-46088257a0f6 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.110 | ubuntu20.04 | simple_requires-1-1-flv | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+---------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | BUILDING | INSTANTIATING (f5dc6b42-99b1-4ab7-bdbc-fac0b64d87a6) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | BUILDING | INSTANTIATING (f5dc6b42-99b1-4ab7-bdbc-fac0b64d87a6) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="ldap" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ldap | 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | 2024-03-28T04:28:48 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 cluster_k8s daily k8s_12 ${id} ${ns_name} ${ns_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm ns-list | grep ${ns_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep ldap | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 ${stdout} Logs the given message with the given level. 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Verifies that the given item is not empty. Length is 36 ${id} = 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 9a3a04d2-5e62-415c-8fbd-241e6d0b0e46 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = ef81d3ed-bbc9-48d9-9eb0-ebdd3387f79e ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ ef81d3ed-bbc9-48d9-9eb0-ebdd3387f79e ] @{vnfr_list} = [ ef81d3ed-bbc9-48d9-9eb0-ebdd3387f79e ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: ef81d3ed-bbc9-48d9-9eb0-ebdd3387f79e ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = ef81d3ed-bbc9-48d9-9eb0-ebdd3387f79e cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${action_name} ${vnf_member_index} ${kdu_name} cn=${action_param_cn} dc=${action_param_dc} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} cn=admin ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = cn=admin ${param_name} = cn ${param_value} = admin ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "cn":"admin", dc=example.org ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = dc=example.org ${param_name} = dc ${param_value} = example.org ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "cn":"admin","dc":"example.org", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name get-user-info --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name get-user-info --vnf_name openldap --kdu_name ldap --params '{"cn":"admin","dc":"example.org",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name get-user-info --vnf_name openldap --kdu_name ldap --params '{"cn":"admin","dc":"example.org",}' ldap ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name get-user-info --vnf_name openldap --kdu_name ldap --params '{"cn":"admin","dc":"example.org",}' ldap 2>&1'. ${rc} = 0 ${stdout} = f850f61d-3675-489b-aaf1-4c3f07716141 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f850f61d-3675-489b-aaf1-4c3f07716141 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id f850f61d-3675-489b-aaf1-4c3f07716141 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f850f61d-3675-489b-aaf1-4c3f07716141 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f850f61d-3675-489b-aaf1-4c3f07716141 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = f850f61d-3675-489b-aaf1-4c3f07716141 Performs one Day 2 operation. cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${upgrade_action} ${vnf_member_index} ${kdu_name} replicaCount=${replica_count} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} replicaCount=3 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = replicaCount=3 ${param_name} = replicaCount ${param_value} = 3 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "replicaCount":"3", ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} --params '{${params}}' Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap --params '{"replicaCount":"3",}' ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap --params '{"replicaCount":"3",}' ldap ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name upgrade --vnf_name openldap --kdu_name ldap --params '{"replicaCount":"3",}' ldap 2>&1'. ${rc} = 0 ${stdout} = 52b89d50-83b0-4d4a-8b6b-9f16da859497 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 52b89d50-83b0-4d4a-8b6b-9f16da859497 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 52b89d50-83b0-4d4a-8b6b-9f16da859497 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 52b89d50-83b0-4d4a-8b6b-9f16da859497 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 52b89d50-83b0-4d4a-8b6b-9f16da859497 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 52b89d50-83b0-4d4a-8b6b-9f16da859497 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id 52b89d50-83b0-4d4a-8b6b-9f16da859497 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 52b89d50-83b0-4d4a-8b6b-9f16da859497 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 52b89d50-83b0-4d4a-8b6b-9f16da859497 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = 52b89d50-83b0-4d4a-8b6b-9f16da859497 cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show ef81d3ed-bbc9-48d9-9eb0-ebdd3387f79e --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 3 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = 3 ${count} = 3 ${count} Logs the given message with the given level. 3 ${count} ${replica_count} Fails if objects are unequal after converting them to integers. cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${ns_op_id} ${ns_name} ${rollback_action} ${vnf_member_index} ${kdu_name} Execute an action over the desired K8s NS. Parameters are given to this function in key=value format (one argument per key/value pair). Return the ID of the operation associated to the executed action. Examples of execution: ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${ns_op_id}= Execute NS Action ${ns_name} ${ns_action} ${vnf_member_index} ${param1}=${value1} ${param2}=${value2} ${params} ${EMPTY} Returns the given values which can then be assigned to a variables. ${params} = ${param} @{action_params} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${osm_ns_action_command} osm ns-action --action_name ${ns_action} --vnf_name ${vnf_member_index} --kdu_name ${kdu_name} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} '${params}'!='${EMPTY}' Catenate ${osm_ns_action_command} --params '{${params}}' ELSE Set Variable ${osm_ns_action_command} Runs the given keyword with the given arguments, if ``condition`` is true. ${osm_ns_action_command} Returns the given values which can then be assigned to a variables. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ${osm_ns_action_command} ${osm_ns_action_command} ${ns_name} Catenates the given items together and returns the resulted string. ${osm_ns_action_command} = osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap ${rc} ${stdout} ${osm_ns_action_command} Runs the given command in the system and returns the RC and output. Running command 'osm ns-action --action_name rollback --vnf_name openldap --kdu_name ldap ldap 2>&1'. ${rc} = 0 ${stdout} = c234f076-81c5-4f63-ad8f-638230bb8d98 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_action_max_wait_time} ${ns_action_pol_time} Check For NS Operation Ended ${stdout} Runs the specified keyword and retries if it fails. ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c234f076-81c5-4f63-ad8f-638230bb8d98 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = PROCESSING ${stdout} Logs the given message with the given level. PROCESSING ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. Timeout waiting for ns-action with id c234f076-81c5-4f63-ad8f-638230bb8d98 ${stdout} Check wheter the status of the desired operation is "FAILED" or "COMPLETED". ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c234f076-81c5-4f63-ad8f-638230bb8d98 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} FAILED COMPLETED msg=Timeout waiting for ns-action with id ${ns_operation_id} values=False Fails if ``container`` does not contain any of the ``*items``. ${stdout} Check wheter the status of the desired operation is "COMPLETED" or not. ${ns_operation_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm ns-op-show ${ns_operation_id} --literal | yq .operationState | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show c234f076-81c5-4f63-ad8f-638230bb8d98 --literal | yq .operationState | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = COMPLETED ${stdout} Logs the given message with the given level. COMPLETED ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} COMPLETED msg=The ns-action with id ${ns_operation_id} was not completed values=False Fails if ``container`` does not contain ``item`` one or more times. ${ns_op_id} = c234f076-81c5-4f63-ad8f-638230bb8d98 cluster_k8s daily k8s_12 ${ns_id} msg=Network service instance is not available Fails unless the given variable exists within the current scope. ${count} ${vnf_id} ${kdu_name} Return the number of KDU replicas (empty if none) of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${kdu_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm vnf-show ${vnf_id} --kdu ${kdu_name} | yq .config.replicaCount | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show ef81d3ed-bbc9-48d9-9eb0-ebdd3387f79e --kdu ldap | yq .config.replicaCount | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = null ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${return} '${stdout}' == 'null' ${EMPTY} ${stdout} Sets variable based on the given condition. ${return} = ${count} = ${count} Logs the given message with the given level. ${count} Verifies that the given item is empty. Length is 0 cluster_k8s daily k8s_12 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete ldap 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | a0e1d548-6b80-4972-a07c-a0a9d6124ed8 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.76 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 4e4d9ee2-c1ff-43f6-bcb0-cc533338fe4c | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 0 ${stdout} = ldap ${stdout} ${ns} Fails if objects are equal after converting them to strings. ldap == ldap ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | a0e1d548-6b80-4972-a07c-a0a9d6124ed8 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.76 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 4e4d9ee2-c1ff-43f6-bcb0-cc533338fe4c | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep ldap 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_12 ${k8scluster_name} ${rc} ${stdout} osm k8scluster-delete ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-delete k8s12 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${k8scluster_delete_max_wait_time} ${k8scluster_delete_pol_time} Check For K8s Cluster To Be Deleted ${k8scluster_name} Runs the specified keyword and retries if it fails. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s12" | awk '{print $2}' | grep k8s12 2>&1'. ${rc} = 0 ${stdout} = k8s12 ${stdout} Verifies that the given item is empty. Length is 5 'k8s12' should be empty. ${k8scluster_name} ${rc} ${stdout} osm k8scluster-list --filter name="${k8scluster_name}" | awk '{print $2}' | grep ${k8scluster_name} Runs the given command in the system and returns the RC and output. Running command 'osm k8scluster-list --filter name="k8s12" | awk '{print $2}' | grep k8s12 2>&1'. ${rc} = 1 ${stdout} = ${stdout} Verifies that the given item is empty. Length is 0 cleanup cluster_k8s daily k8s_12 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete openldap_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep openldap_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_12 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete openldap_knf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep openldap_knf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily k8s_12 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor, instance and vim Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete K8s Cluster ${k8scluster_name} Runs the given keyword with the given arguments, if one or more tests failed. [K8s-12] Openldap Helm chart. ${project_1_name} ${project_1_quotas} ${project_name} Verifies that the given item is not empty. Length is 16 ${project_quotas} Verifies that the given item is not empty. Length is 29 ${rc} ${stdout} osm project-create ${project_name} --quotas ${project_quotas} Runs the given command in the system and returns the RC and output. Running command 'osm project-create quotas_01_proj_1 --quotas vnfds=1,nsds=2,ns_instances=3 2>&1'. ${rc} = 0 ${stdout} = 67d75807-2ccf-4fdb-be8c-0305ce1c4ca0 ${stdout} Logs the given message with the given level. 67d75807-2ccf-4fdb-be8c-0305ce1c4ca0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_1_vnfds} ${project_1_name} vnfds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_1 | grep 'vnfds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_1_vnfds} = 1 1 ${project_1_vnfds} Fails if objects are unequal after converting them to integers. ${project_1_nsds} ${project_1_name} nsds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_1 | grep 'nsds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 2 ${stdout} Logs the given message with the given level. 2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_1_nsds} = 2 2 ${project_1_nsds} Fails if objects are unequal after converting them to integers. ${project_1_ns_instances} ${project_1_name} ns_instances ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 12 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_1 | grep 'ns_instances' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 3 ${stdout} Logs the given message with the given level. 3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_1_ns_instances} = 3 3 ${project_1_ns_instances} Fails if objects are unequal after converting them to integers. cluster_main daily quotas_01 regression ${project_2_name} ${project_2_quotas} ${project_name} Verifies that the given item is not empty. Length is 16 ${project_quotas} Verifies that the given item is not empty. Length is 29 ${rc} ${stdout} osm project-create ${project_name} --quotas ${project_quotas} Runs the given command in the system and returns the RC and output. Running command 'osm project-create quotas_01_proj_2 --quotas vnfds=1,nsds=1,ns_instances=1 2>&1'. ${rc} = 0 ${stdout} = 0fb5db83-12da-4f49-b506-1584d815b4df ${stdout} Logs the given message with the given level. 0fb5db83-12da-4f49-b506-1584d815b4df ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_2_vnfds} ${project_2_name} vnfds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_2 | grep 'vnfds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_2_vnfds} = 1 1 ${project_2_vnfds} Fails if objects are unequal after converting them to integers. ${project_2_nsds} ${project_2_name} nsds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_2 | grep 'nsds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_2_nsds} = 1 1 ${project_2_nsds} Fails if objects are unequal after converting them to integers. ${project_2_ns_instances} ${project_2_name} ns_instances ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 12 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_2 | grep 'ns_instances' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_2_ns_instances} = 1 1 ${project_2_ns_instances} Fails if objects are unequal after converting them to integers. cluster_main daily quotas_01 regression ${rc} ${stdout} osm user-create ${user_name} --password ${user_password} --project-role-mappings ${project_1_name},project_admin --project-role-mappings ${project_2_name},project_admin Runs the given command in the system and returns the RC and output. Running command 'osm user-create quotas_01_user --password quotas_01_pass --project-role-mappings quotas_01_proj_1,project_admin --project-role-mappings quotas_01_proj_2,project_admin 2>&1'. ${rc} = 0 ${stdout} = 199b74f4-4921-4430-bcba-c15aa1d56c8c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${project_1_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show quotas_01_user | grep "project_name" | grep "quotas_01_proj_1" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "quotas_01_proj_1", | ${stdout} Logs the given message with the given level. | | "project_name": "quotas_01_proj_1", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${user_name} ${project_2_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show quotas_01_user | grep "project_name" | grep "quotas_01_proj_2" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "quotas_01_proj_2", | ${stdout} Logs the given message with the given level. | | "project_name": "quotas_01_proj_2", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily quotas_01 regression ${project_1_name} ${project_3_name} ${project_name} Verifies that the given item is not empty. Length is 16 ${new_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm project-update ${project_name} --name ${new_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-update quotas_01_proj_1 --name quotas_01_proj_3 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} ${project_3_name} vnfds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'vnfds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} = 1 1 ${project_3_vnfds} Fails if objects are unequal after converting them to integers. ${project_3_nsds} ${project_3_name} nsds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 4 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'nsds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 2 ${stdout} Logs the given message with the given level. 2 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_nsds} = 2 2 ${project_3_nsds} Fails if objects are unequal after converting them to integers. ${project_3_ns_instances} ${project_3_name} ns_instances ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 12 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'ns_instances' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 3 ${stdout} Logs the given message with the given level. 3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_ns_instances} = 3 3 ${project_3_ns_instances} Fails if objects are unequal after converting them to integers. ${user_name} ${project_3_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-show ${user_name} | grep "project_name" | grep "${project_name}" Runs the given command in the system and returns the RC and output. Running command 'osm user-show quotas_01_user | grep "project_name" | grep "quotas_01_proj_3" 2>&1'. ${rc} = 0 ${stdout} = | | "project_name": "quotas_01_proj_3", | ${stdout} Logs the given message with the given level. | | "project_name": "quotas_01_proj_3", | ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily quotas_01 regression ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v1;product-name=v1' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v1;product-name=v1' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v1;product-name=v1' ${param_name} = override='id=v1;product-name ${param_value} = v1' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v1;product-name=v1' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v1;product-name=v1' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 14fad4c3-f10b-4418-90e6-6114eb7063d4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> * Create VNFD In Project ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v2;product-name=v2' Runs the keyword and checks that the expected error occurred. ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v2;product-name=v2' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v2;product-name=v2' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v2;product-name=v2' ${param_name} = override='id=v2;product-name ${param_value} = v2' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' 2>&1'. ${rc} = 1 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz ERROR: Error 422: { "code": "UNPROCESSABLE_ENTITY", "status": 422, "detail": "quota (vnfds=1) exceeded for project quotas_01_proj_3 (67d75807-2ccf-4fdb-be8c-0305ce1c4ca0)" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 cluster_main daily quotas_01 regression ${project_3_name} ${project_3_quotas} ${project_name} Verifies that the given item is not empty. Length is 16 ${project_quotas} Verifies that the given item is not empty. Length is 27 ${rc} ${stdout} osm project-update ${project_name} --quotas ${project_quotas} Runs the given command in the system and returns the RC and output. Running command 'osm project-update quotas_01_proj_3 --quotas vnfds=5,nsds=,ns_instances= 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} ${project_3_name} vnfds ${project_name} Verifies that the given item is not empty. Length is 16 ${quotas_name} Verifies that the given item is not empty. Length is 5 ${rc} ${stdout} osm project-show ${project_name} | grep '${quotas_name}' | awk -F ',|: ' '{print $2}' | awk '{print $1}' Runs the given command in the system and returns the RC and output. Running command 'osm project-show quotas_01_proj_3 | grep 'vnfds' | awk -F ',|: ' '{print $2}' | awk '{print $1}' 2>&1'. ${rc} = 0 ${stdout} = 5 ${stdout} Logs the given message with the given level. 5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_vnfds} = 5 5 ${project_3_vnfds} Fails if objects are unequal after converting them to integers. cluster_main daily quotas_01 regression ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v2;product-name=v2' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v2;product-name=v2' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v2;product-name=v2' ${param_name} = override='id=v2;product-name ${param_value} = v2' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v2;product-name=v2' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 87a403c4-a0ba-4bd5-8b76-341a0943d062 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v3;product-name=v3' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v3;product-name=v3' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v3;product-name=v3' ${param_name} = override='id=v3;product-name ${param_value} = v3' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v3;product-name=v3' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v3;product-name=v3' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 7e63e0bb-26b3-4116-a900-fb7ca78b4e41 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v4;product-name=v4' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v4;product-name=v4' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v4;product-name=v4' ${param_name} = override='id=v4;product-name ${param_value} = v4' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v4;product-name=v4' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v4;product-name=v4' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 9a812927-d373-45e4-900d-521b357ec171 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v5;product-name=v5' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v5;product-name=v5' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v5;product-name=v5' ${param_name} = override='id=v5;product-name ${param_value} = v5' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v5;product-name=v5' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v5;product-name=v5' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 3b257df3-890a-4afe-948d-c177397483a5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> * Create VNFD In Project ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v6;product-name=v6' Runs the keyword and checks that the expected error occurred. ${project_3_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=v6;product-name=v6' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=v6;product-name=v6' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=v6;product-name=v6' ${param_name} = override='id=v6;product-name ${param_value} = v6' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v6;product-name=v6' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=v6;product-name=v6' 2>&1'. ${rc} = 1 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz ERROR: Error 422: { "code": "UNPROCESSABLE_ENTITY", "status": 422, "detail": "quota (vnfds=5) exceeded for project quotas_01_proj_3 (67d75807-2ccf-4fdb-be8c-0305ce1c4ca0)" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 cluster_main daily quotas_01 regression ${project_2_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=vp2_1;product-name=vp2_1' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=vp2_1;product-name=vp2_1' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=vp2_1;product-name=vp2_1' ${param_name} = override='id=vp2_1;product-name ${param_value} = vp2_1' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_1;product-name=vp2_1' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_1;product-name=vp2_1' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 5937225c-7624-4622-92e9-55724c72979e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> * Create VNFD In Project ${project_2_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=vp2_2;product-name=vp2_2' Runs the keyword and checks that the expected error occurred. ${project_2_name} ${vnfd_pkg} ${user_name} ${user_password} override='id=vp2_2;product-name=vp2_2' Onboards a VNFD package into an OSM project. Extra parameters (such as 'override') are given to this function in name=value format. These parameters will be appended to the 'osm vnfpkg-create' command with the next syntax: --param_name=param_value ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 46 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${osm_pkg_create_command} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-create ${vnfd_pkg} Returns the given values which can then be assigned to a variables. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf ${param} @{optional_parameters} override='id=vp2_2;product-name=vp2_2' ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in optional parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = override='id=vp2_2;product-name=vp2_2' ${param_name} = override='id=vp2_2;product-name ${param_value} = vp2_2' ${osm_pkg_create_command} ${osm_pkg_create_command} --${param_name}=${param_value} Catenates the given items together and returns the resulted string. ${osm_pkg_create_command} = osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_2;product-name=vp2_2' ${rc} ${stdout} ${osm_pkg_create_command} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-create /robot-systest/osm-packages/hackfest_basic_vnf --override='id=vp2_2;product-name=vp2_2' 2>&1'. ${rc} = 1 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz ERROR: Error 422: { "code": "UNPROCESSABLE_ENTITY", "status": 422, "detail": "quota (vnfds=1) exceeded for project quotas_01_proj_2 (0fb5db83-12da-4f49-b506-1584d815b4df)" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 cluster_main daily quotas_01 regression ${rc} ${stdout} osm --project ${project_3_name} --password ${user_password} --user ${user_name} vnfpkg-show vp2_1 Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --password quotas_01_pass --user quotas_01_user vnfpkg-show vp2_1 2>&1'. ${rc} = 1 ${stdout} = ERROR: vnfd vp2_1 not found ${stdout} Logs the given message with the given level. ERROR: vnfd vp2_1 not found ${rc} ${success_return_code} Fails if objects are equal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${rc} ${stdout} osm --project ${project_2_name} --password ${user_password} --user ${user_name} vnfpkg-show v1 Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --password quotas_01_pass --user quotas_01_user vnfpkg-show v1 2>&1'. ${rc} = 1 ${stdout} = ERROR: vnfd v1 not found ${stdout} Logs the given message with the given level. ERROR: vnfd v1 not found ${rc} ${success_return_code} Fails if objects are equal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_main daily quotas_01 regression ${project_2_name} vp2_1 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 5 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_2 --user quotas_01_user --password quotas_01_pass vnfpkg-delete vp2_1 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression ${project_3_name} v1 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v1 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v2 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v2 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v3 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v3 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v4 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v4 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} v5 ${user_name} ${user_password} ${project_name} Verifies that the given item is not empty. Length is 16 ${vnfd_pkg} Verifies that the given item is not empty. Length is 2 ${project_user} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${rc} ${stdout} osm --project ${project_name} --user ${project_user} --password ${user_password} vnfpkg-delete ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm --project quotas_01_proj_3 --user quotas_01_user --password quotas_01_pass vnfpkg-delete v5 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression * Delete Project ${project_2_name} Runs the keyword and checks that the expected error occurred. ${project_2_name} ${rc} ${stdout} osm project-delete ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-delete quotas_01_proj_2 2>&1'. ${rc} = 1 ${stdout} = ERROR: Error 409: { "code": "CONFLICT", "status": 409, "detail": "Project 'quotas_01_proj_2' (0fb5db83-12da-4f49-b506-1584d815b4df) is being used by user 'quotas_01_user'" } ${stdout} Logs the given message with the given level. ERROR: Error 409: { "code": "CONFLICT", "status": 409, "detail": "Project 'quotas_01_proj_2' (0fb5db83-12da-4f49-b506-1584d815b4df) is being used by user 'quotas_01_user'" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 1 != 0 ${user_name} ${project_2_name} ${user_name} Verifies that the given item is not empty. Length is 14 ${project_name} Verifies that the given item is not empty. Length is 16 ${rc} ${stdout} osm user-update ${user_name} --remove-project ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm user-update quotas_01_user --remove-project quotas_01_proj_2 2>&1'. ${rc} = 0 ${stdout} = Updated ${stdout} Logs the given message with the given level. Updated ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_2_name} ${rc} ${stdout} osm project-delete ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-delete quotas_01_proj_2 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression ${rc} osm user-delete ${user_name} Runs the given command in the system and returns the return code. Running command 'osm user-delete quotas_01_user 2>&1'. ${rc} = 0 cleanup cluster_main daily quotas_01 regression ${project_3_name} ${rc} ${stdout} osm project-delete ${project_name} Runs the given command in the system and returns the RC and output. Running command 'osm project-delete quotas_01_proj_3 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cleanup cluster_main daily quotas_01 regression Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Run Keyword And Ignore Error Delete VNFD In Project ${project_2_name} vp2_1 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v1 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v2 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v3 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v4 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete VNFD In Project ${project_3_name} v5 ${user_name} ${user_password} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete Project ${project_1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete Project ${project_2_name} Runs the given keyword with the given arguments, if one or more tests failed. Run Keyword And Ignore Error Delete Project ${project_3_name} Runs the given keyword with the given arguments, if one or more tests failed. osm user-delete ${user_name} Runs the given command in the system and returns the return code. Running command 'osm user-delete quotas_01_user 2>&1'. [QUOTAS-01] Quota enforcement. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz 4efc3b3e-cacb-42e9-aaec-63304295b381 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 4efc3b3e-cacb-42e9-aaec-63304295b381 cluster_sa daily regression sa_01 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/os... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/osm-packages/hackfest_basic_metrics_ns.tar.gz b8130204-a97b-4059-87c3-84117907fa9f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = b8130204-a97b-4059-87c3-84117907fa9f cluster_sa daily regression sa_01 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name sa_01-vnf_with_vim_metrics_test --nsd_name hackfest_basic-ns-metrics --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a ${stdout} Logs the given message with the given level. 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a ${ns_id} Logs the given message with the given level. 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | a0e1d548-6b80-4972-a07c-a0a9d6124ed8 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.76 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 4e4d9ee2-c1ff-43f6-bcb0-cc533338fe4c | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_01-vnf_with_vim_metrics_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_01-vnf_with_vim_metrics_test | 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a | 2024-03-28T04:34:16 | BUILDING | INSTANTIATING (87be036d-0efa-433e-8a3d-4afecfb74b1b) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_01-vnf_with_vim_metrics_test | 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a | 2024-03-28T04:34:16 | BUILDING | INSTANTIATING (87be036d-0efa-433e-8a3d-4afecfb74b1b) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 16aebc67-17ad-4074-a096-f150482beb77 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.217 | ubuntu20.04 | simple_requires-1-1-flv | | a0e1d548-6b80-4972-a07c-a0a9d6124ed8 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.76 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 4e4d9ee2-c1ff-43f6-bcb0-cc533338fe4c | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_01-vnf_with_vim_metrics_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_01-vnf_with_vim_metrics_test | 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a | 2024-03-28T04:34:16 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ | 16aebc67-17ad-4074-a096-f150482beb77 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.217 | ubuntu20.04 | simple_requires-1-1-flv | | a0e1d548-6b80-4972-a07c-a0a9d6124ed8 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.76 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 4e4d9ee2-c1ff-43f6-bcb0-cc533338fe4c | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.77 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_01-vnf_with_vim_metrics_test" 2>&1'. ${rc} = 0 ${stdout} = +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_01-vnf_with_vim_metrics_test | 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a | 2024-03-28T04:34:16 | READY | IDLE (None) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a cluster_sa daily regression sa_01 ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_1_name} msg=Prometheus first metric name is not available Fails unless the given variable exists within the current scope. ${metric_2_name} msg=Prometheus second metric name is not available Fails unless the given variable exists within the current scope. ${metric_1_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:34:54 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:35:54 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:36:54 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:37:55 GMT', 'Content-Length': '307'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711600675.014,"9.2"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1ef46513-4afe-4bd3-b4f7-d9a1c3... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a', 'ns_name': 'sa_01-vnf_with_vim_metrics_test', 'project_i... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_1_value} = 9.2 ${metric_1_value} <= 0 Fail msg=The metric '${metric_1_name}' value is '${metric_1_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_2_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_average_memory_utilization%7B%7D path_url=/api/v1/query?query=osm_average_memory_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_average_memory_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:37:55 GMT', 'Content-Length': '321'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_average_memory_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a","ns_name":"sa_01-vnf_with_vim_metrics_test","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711600675.047,"272.31640625"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_average_memory_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1ef46513-4afe-4bd3-... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_average_memory_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '1ef46513-4afe-4bd3-b4f7-d9a1c36ad84a', 'ns_name': 'sa_01-vnf_with_vim_metrics_test',... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_2_value} = 272.31640625 ${metric_2_value} <= 0 Fail msg=The metric '${metric_2_name}' value is '${metric_2_value}' Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_01 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_01-vnf_with_vim_metrics_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 16aebc67-17ad-4074-a096-f150482beb77 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.217 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_01-vnf_with_vim_metrics_test 2>&1'. ${rc} = 0 ${stdout} = sa_01-vnf_with_vim_metrics_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_01-vnf_with_vim_metrics_test == sa_01-vnf_with_vim_metrics_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_01-vnf_with_vim_metrics_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_01 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_01 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_01 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SA-01] VNF with VIM-based metrics. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz 3629a9ff-ca8f-4dda-819c-c59356366444 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 3629a9ff-ca8f-4dda-819c-c59356366444 cluster_sa daily regression sa_02 sanity ${rc} ${stdout} osm vnfpkg-show ${vnfd_name} --literal | yq '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."scaling-criteria"[0]."scale-out-threshold"' | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-show hackfest_basic_metrics-vnf --literal | yq '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."scaling-criteria"[0]."scale-out-threshold"' | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = 60.0000000000 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${scaleout_threshold} ${stdout} Converts the given item to a floating point number. ${scaleout_threshold} = 60.0 ${metric_threshold} ${scaleout_threshold} Makes a variable available everywhere within the scope of the current suite. ${metric_threshold} = 60.0 ${metric_threshold} Logs the given message with the given level. 60.0 cluster_sa daily regression sa_02 sanity '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/os... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_ns Package created: /robot-systest/osm-packages/hackfest_basic_metrics_ns.tar.gz 3b0a0890-01a8-47ed-8e9d-daed742ef5ae ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 3b0a0890-01a8-47ed-8e9d-daed742ef5ae cluster_sa daily regression sa_02 sanity ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name sa_02 --nsd_name hackfest_basic-ns-metrics --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 9446fdbd-fe59-4d0c-b577-66716c17f809 ${stdout} Logs the given message with the given level. 9446fdbd-fe59-4d0c-b577-66716c17f809 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 9446fdbd-fe59-4d0c-b577-66716c17f809 ${ns_id} Logs the given message with the given level. 9446fdbd-fe59-4d0c-b577-66716c17f809 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+------------------------+-------------+---------------------------+ | ID | N... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+---------------------------+ | 561c2a16-2a57-4571-9043-c72ec1186db2 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | BUILD | | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_02 | 9446fdbd-fe59-4d0c-b577-66716c17f809 | 2024-03-28T04:38:30 | BUILDING | INSTANTIATING (f462dd5d-3a7a-4e95-885c-d543cf7f9934) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_02 | 9446fdbd-fe59-4d0c-b577-66716c17f809 | 2024-03-28T04:38:30 | BUILDING | INSTANTIATING (f462dd5d-3a7a-4e95-885c-d543cf7f9934) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+----... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 818fb8a3-6196-4282-8dc2-4a25e28b8282 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.175 | ubuntu20.04 | simple_requires-1-1-flv | | 561c2a16-2a57-4571-9043-c72ec1186db2 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.105; sa_08-vnf_with_v-external=192.168.3.68; sa_08-vnf_with_v-internal=192.168.0.116 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_02 | 9446fdbd-fe59-4d0c-b577-66716c17f809 | 2024-03-28T04:38:30 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+----... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 818fb8a3-6196-4282-8dc2-4a25e28b8282 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.175 | ubuntu20.04 | simple_requires-1-1-flv | | 561c2a16-2a57-4571-9043-c72ec1186db2 | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.105; sa_08-vnf_with_v-external=192.168.3.68; sa_08-vnf_with_v-internal=192.168.0.116 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+---------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_02" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_02 | 9446fdbd-fe59-4d0c-b577-66716c17f809 | 2024-03-28T04:38:30 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 9446fdbd-fe59-4d0c-b577-66716c17f809 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 9446fdbd-fe59-4d0c-b577-66716c17f809 cluster_sa daily regression sa_02 sanity @{vnfr_list} ${ns_id} Return a list with the IDs of the VNF records of a NS instance. ${ns_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 9446fdbd-fe59-4d0c-b577-66716c17f809 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = aafc4b0e-94c8-403b-9c02-22873dae68d5 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ aafc4b0e-94c8-403b-9c02-22873dae68d5 ] @{vnfr_list} = [ aafc4b0e-94c8-403b-9c02-22873dae68d5 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: aafc4b0e-94c8-403b-9c02-22873dae68d5 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = aafc4b0e-94c8-403b-9c02-22873dae68d5 cluster_sa daily regression sa_02 sanity ${ip_addr} ${ns_id} ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf | grep 9446fdbd-fe59-4d0c-b577-66716c17f809 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.175 ${stdout} Logs the given message with the given level. 172.21.249.175 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.175 ${ip_addr} Logs the given message with the given level. 172.21.249.175 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.175 cluster_sa daily regression sa_02 sanity ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:39:13 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:40:13 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:41:13 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:42:13 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:43:13 GMT', 'Content-Length': '295'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"9446fdbd-fe59-4d0c-b577-66716c17f809","ns_name":"sa_02","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711600993.26,"0.19999999999999998"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c17f809', 'ns_name': 'sa_02', 'project_id': 'cb9b4047-c325-4482-bf... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.19999999999999998 ${metric_value} <= 0 Fail msg=The metric '${metric_name}' value is '${metric_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_value} >= ${metric_threshold} Fail msg=The metric '${metric_name}' value is higher than '${metric_threshold}' before scaling Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. ${vnf_ip_addr} ${username} ${password} ${privatekey} for i in {1..9}; do yes &> /dev/null & done ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.249.175:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:43:13 UTC 2024 System load: 0.01 Processes: 106 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.175 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@sa-02-vnf-hackfest-basic-metrics-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'for i in {1..9}; do yes &> /dev/null & done'. Command exited with return code 0. ${stdout} = ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_sa daily regression sa_02 sanity ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_retries} ${prometheus_poll_timeout} Check VIM-based Metric Exceeds Threshold Runs the specified keyword and retries if it fails. Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:43:15 GMT', 'Content-Length': '295'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"9446fdbd-fe59-4d0c-b577-66716c17f809","ns_name":"sa_02","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711600995.87,"0.19999999999999998"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c17f809', 'ns_name': 'sa_02', 'project_id': 'cb9b4047-c325-4482-bf... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.19999999999999998 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Fails the test with the given message and optionally alters its tags. The metric 'osm_cpu_utilization' value is '0.19999999999999998' which is lower than '60.0' Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:44:15 GMT', 'Content-Length': '296'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"9446fdbd-fe59-4d0c-b577-66716c17f809","ns_name":"sa_02","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711601055.904,"0.19999999999999998"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c17f809', 'ns_name': 'sa_02', 'project_id': 'cb9b4047-c325-4482-bf... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.19999999999999998 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Fails the test with the given message and optionally alters its tags. The metric 'osm_cpu_utilization' value is '0.19999999999999998' which is lower than '60.0' Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:45:15 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"9446fdbd-fe59-4d0c-b577-66716c17f809","ns_name":"sa_02","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711601115.952,"57.099999999999994"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c17f809', 'ns_name': 'sa_02', 'project_id': 'cb9b4047-c325-4482-bf... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 57.099999999999994 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Fails the test with the given message and optionally alters its tags. The metric 'osm_cpu_utilization' value is '57.099999999999994' which is lower than '60.0' Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:46:16 GMT', 'Content-Length': '297'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"9446fdbd-fe59-4d0c-b577-66716c17f809","ns_name":"sa_02","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711601175.998,"57.099999999999994"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c17f809', 'ns_name': 'sa_02', 'project_id': 'cb9b4047-c325-4482-bf... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 57.099999999999994 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Fails the test with the given message and optionally alters its tags. The metric 'osm_cpu_utilization' value is '57.099999999999994' which is lower than '60.0' Auxiliar keyword to check if metric exceeds threshold ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:47:16 GMT', 'Content-Length': '298'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"9446fdbd-fe59-4d0c-b577-66716c17f809","ns_name":"sa_02","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vnf_member_index":"vnf"},"value":[1711601236.042,"100.25833333333333"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9446fdbd-fe59-4d0c-b577-66716c17f809', 'ns_name': 'sa_02', 'project_id': 'cb9b4047-c325-4482-bf... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 100.25833333333333 ${metric_value} <= ${metric_threshold} Fail msg=The metric '${metric_name}' value is '${metric_value}' which is lower than '${metric_threshold}' Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity 2 minutes Wait for auto-scale to take place Pauses the test executed for the given time. Slept 2 minutes Wait for auto-scale to take place @{vdur_list} ${vnf_id} Return a list with the names of the VDU records of a VNF instance. ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq .vdur[].name | tr -d \\" Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show aafc4b0e-94c8-403b-9c02-22873dae68d5 --literal | yq .vdur[].name | tr -d \" 2>&1'. ${rc} = 0 ${stdout} = sa_02-vnf-hackfest_basic_metrics-VM-0 sa_02-vnf-hackfest_basic_metrics-VM-1 ${rc} ${success_return_code} msg=${stdout} values=False Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> @{vdur} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{vdur} = [ sa_02-vnf-hackfest_basic_metrics-VM-0 | sa_02-vnf-hackfest_basic_metrics-VM-1 ] @{vdur_list} = [ sa_02-vnf-hackfest_basic_metrics-VM-0 | sa_02-vnf-hackfest_basic_metrics-VM-1 ] ${vdur_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: sa_02-vnf-hackfest_basic_metrics-VM-0 1: sa_02-vnf-hackfest_basic_metrics-VM-1 ${vdurs} ${vdur_list} Returns and logs the length of the given item as an integer. Length is 2 ${vdurs} = 2 ${vdurs} <= 1 Fail msg=There is no new VDU after auto-scaling Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_02 sanity ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_02 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 71dd75e4-857d-444e-9851-b9407a67b616 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.248.199 | ubuntu20.04 | simple_requires-1-1-flv | | 119bd473-47c9-4331-9022-29be86b30703 | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.249.98 | ubuntu20.04 | simple_requires-1-1-flv | | b2d91299-b5bd-4953-a95b-5448a9e6c0e1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 2b744fcf-7423-4719-9659-fbc1d8856106 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.174 | ubuntu20.04 | simple_requires-1-1-flv | | fa22451e-33a8-43d8-a9b5-6a37ef64384d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.39 | ubuntu20.04 | simple_requires-1-1-flv | | adc7336b-2e4d-48a6-b003-3ce5a66e1f1e | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.151 | ubuntu20.04 | simple_requires-1-1-flv | | d85143fc-d9c7-409c-9008-378b30fd8fb3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.66; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.193 | ubuntu18.04 | simple_requires-1-1-flv | | 0ef47259-7e09-4c71-b40b-153524696909 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.17, 192.168.90.104 | ubuntu18.04 | simple_requires-1-1-flv | | 2be17d59-2d77-415e-b948-f0e833ef5ece | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.254; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.153 | ubuntu18.04 | simple_requires-1-1-flv | | f03dbc7f-ee76-4b94-8392-2e334cc5f475 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.88; slicebasic.slice-nsd_vnfd_vld_dat=192.168.90.2 | ubuntu18.04 | simple_requires-1-1-flv | | 818fb8a3-6196-4282-8dc2-4a25e28b8282 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.175 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_02 2>&1'. ${rc} = 0 ${stdout} = sa_02 ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_02 == sa_02 ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 71dd75e4-857d-444e-9851-b9407a67b616 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | b2d91299-b5bd-4953-a95b-5448a9e6c0e1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 2b744fcf-7423-4719-9659-fbc1d8856106 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.174 | ubuntu20.04 | simple_requires-1-1-flv | | fa22451e-33a8-43d8-a9b5-6a37ef64384d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.39 | ubuntu20.04 | simple_requires-1-1-flv | | d85143fc-d9c7-409c-9008-378b30fd8fb3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.66; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.193 | ubuntu18.04 | simple_requires-1-1-flv | | 0ef47259-7e09-4c71-b40b-153524696909 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.17, 192.168.90.104 | ubuntu18.04 | simple_requires-1-1-flv | | 2be17d59-2d77-415e-b948-f0e833ef5ece | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.254; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.153 | ubuntu18.04 | simple_requires-1-1-flv | | f03dbc7f-ee76-4b94-8392-2e334cc5f475 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.88; slicebasic.slice-nsd_vnfd_vld_dat=192.168.90.2 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_02 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_02 sanity ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns-metrics 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns-metrics 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_02 sanity ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_02 sanity Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SA-02] VNF with VIM-based metrics and auto-scaling. '%{PACKAGES_FOLDER}/${ws_vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hac... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_vnf Package created: /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_vnf.tar.gz 9078d4c2-154f-4ef8-916a-836cde281ebe ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 9078d4c2-154f-4ef8-916a-836cde281ebe cluster_sa daily regression sa_07 '%{PACKAGES_FOLDER}/${ws_nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/hackfest_basic_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_ns Package created: /robot-systest/osm-packages/hackf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_ns Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_ns Package created: /robot-systest/osm-packages/hackfest_basic_ns.tar.gz 5786d1d8-cd82-4d90-a418-ec3a8b673fe7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 5786d1d8-cd82-4d90-a418-ec3a8b673fe7 cluster_sa daily regression sa_07 ${id} ${ws_nsd_name} %{VIM_TARGET} ${ws_ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name sa_07-webhook_service_test --nsd_name hackfest_basic-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 90f5a1fa-4466-4115-97f5-339bfde97bf1 ${stdout} Logs the given message with the given level. 90f5a1fa-4466-4115-97f5-339bfde97bf1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 90f5a1fa-4466-4115-97f5-339bfde97bf1 ${ns_id} Logs the given message with the given level. 90f5a1fa-4466-4115-97f5-339bfde97bf1 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | b2d91299-b5bd-4953-a95b-5448a9e6c0e1 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.6 | ubuntu20.04 | simple_requires-1-1-flv | | 2b744fcf-7423-4719-9659-fbc1d8856106 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.174 | ubuntu20.04 | simple_requires-1-1-flv | | fa22451e-33a8-43d8-a9b5-6a37ef64384d | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.39 | ubuntu20.04 | simple_requires-1-1-flv | | d85143fc-d9c7-409c-9008-378b30fd8fb3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.66; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.193 | ubuntu18.04 | simple_requires-1-1-flv | | 0ef47259-7e09-4c71-b40b-153524696909 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.17, 192.168.90.104 | ubuntu18.04 | simple_requires-1-1-flv | | 2be17d59-2d77-415e-b948-f0e833ef5ece | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.254; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.153 | ubuntu18.04 | simple_requires-1-1-flv | | f03dbc7f-ee76-4b94-8392-2e334cc5f475 | slicebasic.slice-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.248.88; slicebasic.slice-nsd_vnfd_vld_dat=192.168.90.2 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-webhook_service_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_07-webhook_service_test | 90f5a1fa-4466-4115-97f5-339bfde97bf1 | 2024-03-28T04:49:50 | BUILDING | INSTANTIATING (22507ab2-0ec3-4b6c-9e07-7a9156aaab2d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_07-webhook_service_test | 90f5a1fa-4466-4115-97f5-339bfde97bf1 | 2024-03-28T04:49:50 | BUILDING | INSTANTIATING (22507ab2-0ec3-4b6c-9e07-7a9156aaab2d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | d85143fc-d9c7-409c-9008-378b30fd8fb3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.66; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.193 | ubuntu18.04 | simple_requires-1-1-flv | | 0ef47259-7e09-4c71-b40b-153524696909 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.17, 192.168.90.104 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-webhook_service_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-webhook_service_test | 90f5a1fa-4466-4115-97f5-339bfde97bf1 | 2024-03-28T04:49:50 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+---... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | d85143fc-d9c7-409c-9008-378b30fd8fb3 | sliceshared.slic-edge-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.66; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.193 | ubuntu18.04 | simple_requires-1-1-flv | | 0ef47259-7e09-4c71-b40b-153524696909 | slicebasic.slice-middle-ubuntu_slice-VM-0 | ACTIVE | osm-ext=172.21.249.92; slicebasic.slice-nsd_vnfd_vld_dat=192.168.221.17, 192.168.90.104 | ubuntu18.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+-------------------------------------------+--------+-----------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-webhook_service_test" 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-webhook_service_test | 90f5a1fa-4466-4115-97f5-339bfde97bf1 | 2024-03-28T04:49:50 | READY | IDLE (None) | N/A | +----------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 90f5a1fa-4466-4115-97f5-339bfde97bf1 ${ws_ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ws_ns_id} = 90f5a1fa-4466-4115-97f5-339bfde97bf1 cluster_sa daily regression sa_07 ${ip_addr} ${ws_ns_id} ${ws_vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 3 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=vnf | grep 90f5a1fa-4466-4115-97f5-339bfde97bf1 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.245 ${stdout} Logs the given message with the given level. 172.21.249.245 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ip_addr} = 172.21.249.245 ${ip_addr} Logs the given message with the given level. 172.21.249.245 ${ws_vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${ws_vnf_ip_addr} = 172.21.249.245 cluster_sa daily regression sa_07 ${privatekey} msg=SSH private key not available Fails unless the given variable exists within the current scope. 40 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 40 seconds Wait for SSH daemon to be up ${stdout} ${ws_vnf_ip_addr} ${username} ${password} ${privatekey} while true; do { echo -e 'HTTP/1.1 200 OK\r\n'; test; } | nc -l '${ws_port}'; done > '${ws_log_file}' 2>&1 & ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.245:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:51:11 UTC 2024 System load: 0.37 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.245 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@sa-07-webhook-se-vnf-hackfest-basic-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'while true; do { echo -e 'HTTP/1.1 200 OK '; test; } | nc -l '5212'; done > 'webhook.log' 2>&1 &'. Command exited with return code 0. ${stdout} = ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = cluster_sa daily regression sa_07 ${rc} ${stdout} mkdir '%{PACKAGES_FOLDER}/${new_vnfd_pkg}' && WEBHOOK_URL="http://${ws_vnf_ip_addr}:${ws_port}" envsubst < '%{PACKAGES_FOLDER}/${vnfd_pkg}'/'${vnfd_file}' > '%{PACKAGES_FOLDER}/${new_vnfd_pkg}'/'${vnfd_file}' Runs the given command in the system and returns the RC and output. Running command 'mkdir '/robot-systest/osm-packages/new_cirros_alarm_vnf' && WEBHOOK_URL="http://172.21.249.245:5212" envsubst < '/robot-systest/osm-packages/cirros_alarm_vnf'/'cirros_alarm_vnfd.yaml' > '/robot-systest/osm-packages/new_cirros_alarm_vnf'/'cirros_alarm_vnfd.yaml''. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> '%{PACKAGES_FOLDER}/${new_vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/new_cirros_alarm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/new_cirros_alarm_vnf Validation OK List of charms in the descriptor: set() Adding File: new_cirros_alarm_vnf Package created: /robot-systest/osm-packages... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/new_cirros_alarm_vnf Validation OK List of charms in the descriptor: set() Adding File: new_cirros_alarm_vnf Package created: /robot-systest/osm-packages/new_cirros_alarm_vnf.tar.gz Uploading package /robot-systest/osm-packages/new_cirros_alarm_vnf.tar.gz bf8ebeaa-bca0-4ed6-b3c0-02e003dc6e31 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = bf8ebeaa-bca0-4ed6-b3c0-02e003dc6e31 cluster_sa daily regression sa_07 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/cirros_alarm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/cirros_alarm_ns Validation OK List of charms in the descriptor: set() Adding File: cirros_alarm_ns Package created: /robot-systest/osm-packages/cirros_al... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/cirros_alarm_ns Validation OK List of charms in the descriptor: set() Adding File: cirros_alarm_ns Package created: /robot-systest/osm-packages/cirros_alarm_ns.tar.gz fafe8290-3fed-49ff-bf72-2a0b503a12a8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = fafe8290-3fed-49ff-bf72-2a0b503a12a8 cluster_sa daily regression sa_07 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${publickey} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name sa_07-alarm_test --nsd_name cirros_alarm-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da ${stdout} Logs the given message with the given level. 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da ${ns_id} Logs the given message with the given level. 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | f6cbde0e-44dd-43a0-921b-b807bd2bceae | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 931cafab-a93b-424f-aab6-15df6e900e23 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.214; basic_18-datanet2=192.168.20.43; basic_18-datanet3=192.168.30.38; osm-ext=172.21.249.163 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-alarm_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_07-alarm_test | 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da | 2024-03-28T04:51:18 | BUILDING | INSTANTIATING (9ee05693-24d0-40f3-99a2-489cf3d6f82a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_07-alarm_test | 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da | 2024-03-28T04:51:18 | BUILDING | INSTANTIATING (9ee05693-24d0-40f3-99a2-489cf3d6f82a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 6d6d0569-1c78-4844-97e8-21ead20f0680 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.101 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | f6cbde0e-44dd-43a0-921b-b807bd2bceae | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.198; basic_18-datanet2=192.168.20.102; basic_18-datanet3=192.168.30.95; osm-ext=172.21.248.197 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 931cafab-a93b-424f-aab6-15df6e900e23 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.214; basic_18-datanet2=192.168.20.43; basic_18-datanet3=192.168.30.38; osm-ext=172.21.249.163 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-alarm_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-alarm_test | 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da | 2024-03-28T04:51:18 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ | 6d6d0569-1c78-4844-97e8-21ead20f0680 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.101 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | f6cbde0e-44dd-43a0-921b-b807bd2bceae | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.198; basic_18-datanet2=192.168.20.102; basic_18-datanet3=192.168.30.95; osm-ext=172.21.248.197 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 931cafab-a93b-424f-aab6-15df6e900e23 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.214; basic_18-datanet2=192.168.20.43; basic_18-datanet3=192.168.30.38; osm-ext=172.21.249.163 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_07-alarm_test" 2>&1'. ${rc} = 0 ${stdout} = +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date ... ${stdout} Logs the given message with the given level. +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_07-alarm_test | 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da | 2024-03-28T04:51:18 | READY | IDLE (None) | N/A | +------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da cluster_sa daily regression sa_07 ${prometheus_poll_retries} msg=Metric polling retries is not available Fails unless the given variable exists within the current scope. ${prometheus_poll_timeout} msg=Metric polling timeout is not available Fails unless the given variable exists within the current scope. ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_name} msg=Prometheus metric name is not available Fails unless the given variable exists within the current scope. ${metric_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:51:57 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:52:57 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:53:57 GMT', 'Content-Length': '87'} body={"status":"success","data":{"resultType":"vector","result":[]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': []}} ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [] ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 0 ${results} = 0 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> Metric osm_cpu_utilization not found 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D path_url=/api/v1/query?query=osm_cpu_utilization%7B%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=osm_cpu_utilization%7B%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:54:57 GMT', 'Content-Length': '300'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","instance":"mon:8000","job":"mon_exporter","ns_id":"9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da","ns_name":"sa_07-alarm_test","project_id":"cb9b4047-c325-4482-bfb0-0566c86b4c50","vdu_name":"sa_07-alarm_test-vnf-cirros_vnfd-VM-0","vnf_member_index":"vnf"},"value":[1711601697.411,"0.041666666666666664"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9a76c5fb-1b82-4fbb-a0c9-28d9ea... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'instance': 'mon:8000', 'job': 'mon_exporter', 'ns_id': '9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da', 'ns_name': 'sa_07-alarm_test', 'project_id': 'cb9b4047-c... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_value} = 0.041666666666666664 ${metric_value} <= 0 Fail msg=The metric '${metric_name}' value is '${metric_value}' Runs the given keyword with the given arguments, if ``condition`` is true. cluster_sa daily regression sa_07 6 times 40 seconds Execute Remote Command Check Rc Return Output ${ws_vnf_ip_addr} ${username} ${password} ${privatekey} cat '${ws_log_file}' | grep '${ws_alarm_msg}' | grep '${ns_name}' Runs the specified keyword and retries if it fails. ${ws_vnf_ip_addr} ${username} ${password} ${privatekey} cat '${ws_log_file}' | grep '${ws_alarm_msg}' | grep '${ns_name}' ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.245:22' as 'ubuntu'. Read output: Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-107-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 04:54:57 UTC 2024 System load: 0.01 Processes: 106 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.245 Swap usage: 0% 1 update can be applied immediately. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 04:51:12 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@sa-07-webhook-se-vnf-hackfest-basic-vm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'cat 'webhook.log' | grep 'notify_alarm' | grep 'sa_07-alarm_test''. Command exited with return code 0. ${stdout} = {"notify_details": {"alarm_uuid": "88f9cdda-b929-45c5-822a-9e3d5c2ca935", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "28-03-2024 04:52:16", "status": "i... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. {"notify_details": {"alarm_uuid": "88f9cdda-b929-45c5-822a-9e3d5c2ca935", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "28-03-2024 04:52:16", "status": "insufficient-data", "tags": {"ns_id": "9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "88f9cdda-b929-45c5-822a-9e3d5c2ca935", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "28-03-2024 04:52:46", "status": "insufficient-data", "tags": {"ns_id": "9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "88f9cdda-b929-45c5-822a-9e3d5c2ca935", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "28-03-2024 04:53:16", "status": "insufficient-data", "tags": {"ns_id": "9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "88f9cdda-b929-45c5-822a-9e3d5c2ca935", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "28-03-2024 04:53:46", "status": "insufficient-data", "tags": {"ns_id": "9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "88f9cdda-b929-45c5-822a-9e3d5c2ca935", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "28-03-2024 04:54:16", "status": "insufficient-data", "tags": {"ns_id": "9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"}POST / HTTP/1.1 {"notify_details": {"alarm_uuid": "88f9cdda-b929-45c5-822a-9e3d5c2ca935", "metric_name": "cpu_utilization", "operation": "lt", "severity": "critical", "start_date": "28-03-2024 04:54:47", "status": "insufficient-data", "tags": {"ns_id": "9a76c5fb-1b82-4fbb-a0c9-28d9ea4018da", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vnf_member_index": "vnf"}, "threshold_value": 20.0, "alarm_number": 0}, "schema_type": "notify_alarm", "schema_version": "1.1"} Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> cluster_sa daily regression sa_07 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_07-alarm_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+------------------------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+------------------------------+--------------------------+ | 278aeb78-9820-4131-89f5-93d102139ab7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.182 | ubuntu20.04 | simple_requires-1-1-flv | | ba544144-23fb-4f33-94ec-d740e5bc3039 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.219; osm-ext=172.21.248.190 | ubuntu20.04 | simple_requires-1-1-flv | | 6d6d0569-1c78-4844-97e8-21ead20f0680 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.101 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+------------------------------+--------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-alarm_test 2>&1'. ${rc} = 0 ${stdout} = sa_07-alarm_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_07-alarm_test == sa_07-alarm_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 278aeb78-9820-4131-89f5-93d102139ab7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.182 | ubuntu20.04 | simple_requires-1-1-flv | | ba544144-23fb-4f33-94ec-d740e5bc3039 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.219; osm-ext=172.21.248.190 | ubuntu20.04 | simple_requires-1-1-flv | | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-alarm_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete cirros_alarm-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep cirros_alarm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete cirros_alarm-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep cirros_alarm-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${ws_ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_07-webhook_service_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 278aeb78-9820-4131-89f5-93d102139ab7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.182 | ubuntu20.04 | simple_requires-1-1-flv | | ba544144-23fb-4f33-94ec-d740e5bc3039 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.219; osm-ext=172.21.248.190 | ubuntu20.04 | simple_requires-1-1-flv | | 72381d17-0ba5-4787-bd8c-5b0efa4882d3 | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-webhook_service_test 2>&1'. ${rc} = 0 ${stdout} = sa_07-webhook_service_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_07-webhook_service_test == sa_07-webhook_service_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 278aeb78-9820-4131-89f5-93d102139ab7 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.182 | ubuntu20.04 | simple_requires-1-1-flv | | ba544144-23fb-4f33-94ec-d740e5bc3039 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.219; osm-ext=172.21.248.190 | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_07-webhook_service_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${ws_nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete hackfest_basic-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep hackfest_basic-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 ${ws_vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sa daily regression sa_07 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NS ${ws_ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${ws_nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${ws_vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. '%{PACKAGES_FOLDER}/${new_vnfd_pkg}' Removes the temporary package folder created for the test ${rc} ${stdout} rm -rf '${folder_name}' Runs the given command in the system and returns the RC and output. Running command 'rm -rf ''/robot-systest/osm-packages/new_cirros_alarm_vnf'' 2>&1'. ${rc} = 0 ${stdout} = ${stdout} Logs the given message with the given level. [SA-07] Events or alarms coming from SA-related VNFs in the NS. '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/snmp_ee_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/snmp_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: snmp_ee_vnf Package created: /robot-systest/osm-packages/snmp_ee_vnf.tar.g... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/snmp_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: snmp_ee_vnf Package created: /robot-systest/osm-packages/snmp_ee_vnf.tar.gz Uploading package /robot-systest/osm-packages/snmp_ee_vnf.tar.gz 0b1b6e4d-049f-43df-9240-070f14e4ef80 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 0b1b6e4d-049f-43df-9240-070f14e4ef80 cluster_k8s daily regression sa_08 '%{PACKAGES_FOLDER}/${nsd_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/snmp_ee_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/snmp_ee_ns Validation OK List of charms in the descriptor: set() Adding File: snmp_ee_ns Package created: /robot-systest/osm-packages/snmp_ee_ns.tar.gz e... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/snmp_ee_ns Validation OK List of charms in the descriptor: set() Adding File: snmp_ee_ns Package created: /robot-systest/osm-packages/snmp_ee_ns.tar.gz e45f7708-efa1-4e4d-ab0f-910eaf39371e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = e45f7708-efa1-4e4d-ab0f-910eaf39371e cluster_k8s daily regression sa_08 ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${EMPTY} ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} ${ns_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_launch_max_wait_time} = 300.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 300.0 ${config_attr} '${ns_config}'!='${EMPTY}' --config '${ns_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${ns_id} ${ns_name} ${nsd} ${vim_name} ${config_attr} ${sshkeys_attr} ${config_file_attr} ${rc} ${stdout} osm ns-create --ns_name ${ns_name} --nsd_name ${nsd} --vim_account ${vim_name} ${ns_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm ns-create --ns_name sa_08-vnf_with_vnf_indicators_snmp_test --nsd_name snmp_ee-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = 0301d541-348f-4f16-b014-8e1e44c878e8 ${stdout} Logs the given message with the given level. 0301d541-348f-4f16-b014-8e1e44c878e8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 0301d541-348f-4f16-b014-8e1e44c878e8 ${ns_id} Logs the given message with the given level. 0301d541-348f-4f16-b014-8e1e44c878e8 ${ns_launch_max_wait_time} ${ns_launch_pol_time} Check For NS Instance To Configured ${ns_name} Runs the specified keyword and retries if it fails. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ | 278aeb78-9820-4131-89f5-93d102139ab7 | basic_19-vnf-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+--------------------------+--------+------------------------+-------------+-------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | BUILDING | INSTANTIATING (6e074272-a7a0-47a3-baf3-d56c77df7510) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | BUILDING | INSTANTIATING (6e074272-a7a0-47a3-baf3-d56c77df7510) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+--... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 8d067aab-5d6e-4faf-8a92-8e6b5b07fc6b | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.220; sa_08-vnf_with_v-external=192.168.5.209; sa_08-vnf_with_v-internal=192.168.101.16 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | BUILDING | INSTANTIATING (6e074272-a7a0-47a3-baf3-d56c77df7510) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | BUILDING | INSTANTIATING (6e074272-a7a0-47a3-baf3-d56c77df7510) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 3a542cbd-0325-47ce-a892-389bc59f7cee | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu20.04 | several_volumes-VM-flv | | 8d067aab-5d6e-4faf-8a92-8e6b5b07fc6b | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.220; sa_08-vnf_with_v-external=192.168.5.209; sa_08-vnf_with_v-internal=192.168.101.16 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | BUILDING | INSTANTIATING (6e074272-a7a0-47a3-baf3-d56c77df7510) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. '+-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | BUILDING | INSTANTIATING (6e074272-a7a0-47a3-baf3-d56c77df7510) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID"' does not contain any of 'READY' or 'BROKEN' ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 3a542cbd-0325-47ce-a892-389bc59f7cee | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu20.04 | several_volumes-VM-flv | | 8d067aab-5d6e-4faf-8a92-8e6b5b07fc6b | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.220; sa_08-vnf_with_v-external=192.168.5.209; sa_08-vnf_with_v-internal=192.168.101.16 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | READY | IDLE (None) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN Fails if ``container`` does not contain any of the ``*items``. ${ns_name} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 3a542cbd-0325-47ce-a892-389bc59f7cee | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu20.04 | several_volumes-VM-flv | | 8d067aab-5d6e-4faf-8a92-8e6b5b07fc6b | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.220; sa_08-vnf_with_v-external=192.168.5.209; sa_08-vnf_with_v-internal=192.168.101.16 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list --filter name="${ns_name}" Runs the given command in the system and returns the RC and output. Running command 'osm ns-list --filter name="sa_08-vnf_with_vnf_indicators_snmp_test" 2>&1'. ${rc} = 0 ${stdout} = +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id ... ${stdout} Logs the given message with the given level. +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | sa_08-vnf_with_vnf_indicators_snmp_test | 0301d541-348f-4f16-b014-8e1e44c878e8 | 2024-03-28T04:56:01 | READY | IDLE (None) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ To get the history of all operations over a NS, run "osm ns-op-list NS_ID" For more details on the current operation, run "osm ns-op-show OPERATION_ID" ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} BROKEN Fails if ``container`` contains ``item`` one or more times. ${id} = 0301d541-348f-4f16-b014-8e1e44c878e8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 0301d541-348f-4f16-b014-8e1e44c878e8 cluster_k8s daily regression sa_08 ${prometheus_host} msg=Prometheus address is not available Fails unless the given variable exists within the current scope. ${prometheus_port} msg=Prometheus port is not available Fails unless the given variable exists within the current scope. ${metric_1_name} msg=Prometheus first metric name is not available Fails unless the given variable exists within the current scope. ${metric_2_name} msg=Prometheus second metric name is not available Fails unless the given variable exists within the current scope. ${metric_1_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} ${metric_1_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} ${metric_1_filter} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ifIndex=1 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ifIndex=1 ${param_name} = ifIndex ${param_value} = 1 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ifIndex="1", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D path_url=/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:57:45 GMT', 'Content-Length': '219'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifInOctets","ifAlias":"lo","ifDescr":"lo","ifIndex":"1","ifName":"lo","instance":"172.21.249.220","job":"ef27b9cf41d04b1fbd569ff24d8930d8"},"value":[1711601865.545,"2977"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'ifInOctets', 'ifAlias': 'lo', 'ifDescr': 'lo', 'ifIndex': '1', 'ifName': 'lo', 'instance': '172.21.249.220', ... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'ifInOctets', 'ifAlias': 'lo', 'ifDescr': 'lo', 'ifIndex': '1', 'ifName': 'lo', 'instance': '172.21.249.220', 'job': 'ef27b9cf41d04b1fbd569ff24d8930d8'}, 'value': [1711601865.... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_1_value} = 2977 ${metric_1_value} <= 0 Fail msg=The metric '${metric_1_name}' value is '${metric_1_value}' Runs the given keyword with the given arguments, if ``condition`` is true. ${metric_2_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} ${metric_2_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} ${metric_2_filter} Get the instant value of a metric from Prometheus using multiple filter parameters. The filter parameters are given to this function in key=value format (one argument per key/value pair). Fails if the metric is not found or has multiple values. Examples of execution: ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${metric}= Get Metric ${prometheus_ip} ${prometheus_port} ${metric} ${param1}=${value1} ${param2}=${value2} ${filter} ${EMPTY} Returns the given values which can then be assigned to a variables. ${filter} = ${param} @{filter_parameters} ifIndex=2 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ifIndex=2 ${param_name} = ifIndex ${param_value} = 2 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ifIndex="2", ${resp} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} query=${metric}{${filter}} Execute a Prometheus Instant Query using HTTP API. Return an inline json with the result of the query. The requested URL is the next: http://${prometheus_ip}:${prometheus_port}/api/v1/query?${querystring} ${auth} ${prometheus_user} ${prometheus_password} Returns a list containing given items. ${auth} None Returns the given values which can then be assigned to a variables. ${auth} = None prometheus http://${prometheus_ip}:${prometheus_port} timeout=${timeout} max_retries=${max_retries} verify=false auth=${auth} Create Session: create a HTTP session to a server Creating Session using : alias=prometheus, url=http://172.21.249.182:9091, headers={}, cookies={}, auth=None, timeout=30, proxies=None, verify=False, debug=0 ${resp} prometheus /api/v1/query?${querystring} timeout=${timeout} Sends a GET request on a previously created HTTP Session. GET Request : url=http://172.21.249.182:9091/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D path_url=/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} body=None GET Response : url=http://172.21.249.182:9091/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Thu, 28 Mar 2024 04:57:45 GMT', 'Content-Length': '245'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifMtu","ifAlias":"VyOS-eth0","ifDescr":"Red Hat, Inc Device 0001","ifIndex":"2","ifName":"eth0","instance":"172.21.249.220","job":"ef27b9cf41d04b1fbd569ff24d8930d8"},"value":[1711601865.566,"1500"]}]}} ${resp} = <Response [200]> 200 ${resp} Fails if response status code is different than the expected. ${resp} = {'status': 'success', 'data': {'resultType': 'vector', 'result': [{'metric': {'__name__': 'ifMtu', 'ifAlias': 'VyOS-eth0', 'ifDescr': 'Red Hat, Inc Device 0001', 'ifIndex': '2', 'ifName': 'eth0', 'ins... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'ifMtu', 'ifAlias': 'VyOS-eth0', 'ifDescr': 'Red Hat, Inc Device 0001', 'ifIndex': '2', 'ifName': 'eth0', 'instance': '172.21.249.220', 'job': 'ef27b9cf41d04b1fbd569ff24d8930d... ${results} ${result_list} Returns and logs the length of the given item as an integer. Length is 1 ${results} = 1 0 ${results} msg=Metric ${metric} not found values=false Fails if objects are equal after converting them to real numbers. Argument types are: <class 'str'> <class 'int'> 1 ${results} msg=Metric ${metric} with multiple values values=false Fails if objects are unequal after converting them to integers. Argument types are: <class 'str'> <class 'int'> ${metric_2_value} = 1500 ${metric_2_value} <= 0 Fail msg=The metric '${metric_2_name}' value is '${metric_2_value}' Runs the given keyword with the given arguments, if ``condition`` is true. cluster_k8s daily regression sa_08 ${ns_name} Delete ns ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} ${ns_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${ns_delete_max_wait_time} = 240.0 ${ns_delete_max_wait_time} Logs the given message with the given level. 240.0 ${rc} ${stdout} osm ns-delete ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-delete sa_08-vnf_with_vnf_indicators_snmp_test 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_delete_max_wait_time} ${ns_delete_pol_time} Check For NS Instance To Be Deleted ${ns} Runs the specified keyword and retries if it fails. ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 3a542cbd-0325-47ce-a892-389bc59f7cee | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu20.04 | several_volumes-VM-flv | | 8d067aab-5d6e-4faf-8a92-8e6b5b07fc6b | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.220; sa_08-vnf_with_v-external=192.168.5.209; sa_08-vnf_with_v-internal=192.168.101.16 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_08-vnf_with_vnf_indicators_snmp_test 2>&1'. ${rc} = 0 ${stdout} = sa_08-vnf_with_vnf_indicators_snmp_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. sa_08-vnf_with_vnf_indicators_snmp_test == sa_08-vnf_with_vnf_indicators_snmp_test ${ns} ${rc} ${stdout} openstack server list Runs the given command in the system and returns the RC and output. Running command 'openstack server list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 3a542cbd-0325-47ce-a892-389bc59f7cee | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.244 | ubuntu20.04 | several_volumes-VM-flv | | 3cf16be5-830a-4931-ae51-d668c7033c66 | osm-v150-merge-102 | ACTIVE | osm-ext=172.21.249.247 | ubuntu22.04 | osm.sanity | | 357ff3ec-d4d8-4cf7-a9fe-d14a485cfab7 | osm-master-merge-2937 | ACTIVE | osm-ext=172.21.249.125 | ubuntu22.04 | osm.sanity | | 460c06c1-2216-4865-b5e0-90b0f713a84e | osm-v120-merge-697 | ACTIVE | osm-ext=172.21.249.182 | ubuntu20.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${rc} ${stdout} osm ns-list | awk '{print $2}' | grep ${ns} Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | awk '{print $2}' | grep sa_08-vnf_with_vnf_indicators_snmp_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily regression sa_08 ${nsd_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete snmp_ee-ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep snmp_ee-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily regression sa_08 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete snmp_ee-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep snmp_ee-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_k8s daily regression sa_08 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suite Cleanup: Deleting descriptors and NS instance Delete NS ${ns_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SA-08] VNF with VNF-based indicators through SNMP. '%{PACKAGES_FOLDER}/${vnfd1_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/slice_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_vnf Package created: /robot-systest/osm-packages/slice_bas... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_vnf Package created: /robot-systest/osm-packages/slice_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/slice_basic_vnf.tar.gz d4304d58-d561-4b27-a14c-29eadcdaed72 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = d4304d58-d561-4b27-a14c-29eadcdaed72 '%{PACKAGES_FOLDER}/${vnfd2_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/slice_basic_middle_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_middle_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_vnf Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_middle_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_vnf Package created: /robot-systest/osm-packages/slice_basic_middle_vnf.tar.gz Uploading package /robot-systest/osm-packages/slice_basic_middle_vnf.tar.gz aa317587-73da-4244-a561-5482e08ba4b9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = aa317587-73da-4244-a561-5482e08ba4b9 Onboards all the VNFDs required for the test: vnfd1_pkg and vnfd2_pkg (in the variables file) cluster_slices daily regression slice_01 '%{PACKAGES_FOLDER}/${nsd1_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/slice_basic_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_ns Package created: /robot-systest/osm-packages/slice_basic... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_ns Package created: /robot-systest/osm-packages/slice_basic_ns.tar.gz 1ae203bf-4c0c-4c18-bd42-6a48e0c3e2da ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 1ae203bf-4c0c-4c18-bd42-6a48e0c3e2da '%{PACKAGES_FOLDER}/${nsd2_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/slice_basic_middle_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_middle_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_ns Package created: /robot-systest/osm-packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_middle_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_ns Package created: /robot-systest/osm-packages/slice_basic_middle_ns.tar.gz 5afb4b49-9805-4fa8-8fbd-5e7d248f2dc5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 5afb4b49-9805-4fa8-8fbd-5e7d248f2dc5 Onboards all the NSDs required for the test: nsd1_pkg and nsd2_pkg (in the variables file) cluster_slices daily regression slice_01 '%{PACKAGES_FOLDER}/${nst}' ${rc} ${stdout} osm netslice-template-create ${nst} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-create '/robot-systest/osm-packages/slice_basic_nst/slice_basic_nst.yaml' 2>&1'. ${rc} = 0 ${stdout} = 90299ec2-b66f-4b00-b7f5-0993a83ccb21 ${stdout} Logs the given message with the given level. 90299ec2-b66f-4b00-b7f5-0993a83ccb21 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Onboards the Network Slice Template: nst (in the variables file) cluster_slices daily regression slice_01 ${id} ${nst_name} %{VIM_TARGET} ${slice_name} ${nst_config} ${publickey} Instantiates a NST and returns an instantiation id (nsi), verifying the slice is successfully instantiated Parameters: nst: Name of the slice template vim_name: Name of the VIM entry already in OSM slice_name: Name of the slice instance slice_config: Extra parameters that might require the slice instantiation i.e. configuration attributes publickey: SSH public key of the local machine Execution example: ${nsi}= Create Network Slice ${nst} ${vim_name} ${slice_name} ${slice_config} ${publickey} ${slice_launch_max_wait_time} ${slice_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_launch_max_wait_time} = 360.0 ${slice_launch_max_wait_time} ${slice_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_launch_max_wait_time} = 360.0 ${config_attr} '${slice_config}'!='${EMPTY}' --config '${slice_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{netslice-vld: [ {name: slice_vld_mgmt, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${nsi_id} ${slice_name} ${nst} ${vim_name} ${config_attr} ${config_file_attr} ${sshkeys_attr} Instantiates a NST and returns an instantiation id (nsi) Parameters: slice_name: Name of the slice instance nst: Name of the slice template vim_name: Name of the VIM entry already in OSM slice_extra_args: Extra parameters that might require the slice instantiation i.e. configuration attributes Execution example: ${nsi}= Instantiate Network Slice ${slice_name} ${nst} ${vim_name} ${config_attr} ${rc} ${stdout} osm nsi-create --nsi_name ${slice_name} --nst_name ${nst} --vim_account ${vim_name} ${sshkeys_attr} ${slice_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-create --nsi_name slicebasic --nst_name slice_basic_nst --vim_account osm --ssh_keys /root/.ssh/id_rsa.pub --config '{netslice-vld: [ {name: slice_vld_mgmt, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = 5262ae50-7a8e-4c37-9e71-c64a0f96366d ${stdout} Logs the given message with the given level. 5262ae50-7a8e-4c37-9e71-c64a0f96366d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 5262ae50-7a8e-4c37-9e71-c64a0f96366d ${nsi_id} Logs the given message with the given level. 5262ae50-7a8e-4c37-9e71-c64a0f96366d ${slice_launch_max_wait_time} ${slice_launch_pol_time} Check For Network Slice Instance To Configured ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational s... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | running | configured | done | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. ${slice_name} Verify the slice instance is not in failure Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance For Failure ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational s... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | slicebasic | 5262ae50-7a8e-4c37-9e71-c64a0f96366d | running | configured | done | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} failed Fails if ``container`` contains ``item`` one or more times. ${id} = 5262ae50-7a8e-4c37-9e71-c64a0f96366d ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = 5262ae50-7a8e-4c37-9e71-c64a0f96366d Instantiates the NST recently onboarded and sets the instantiation id as a suite variable (nsi_id) cluster_slices daily regression slice_01 ${middle_ns_id} osm ns-list | grep ${middle_ns_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep slicebasic.slice_basic_nsd_2 | awk '{print $4}' 2>&1'. ${middle_ns_id} = (0, 'ed009bff-efad-45d6-b89e-254221cbc23f') ${vnf_ip} ${middle_ns_id}[1] ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 6 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=middle | grep ed009bff-efad-45d6-b89e-254221cbc23f | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.93 ${stdout} Logs the given message with the given level. 172.21.249.93 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_ip} = 172.21.249.93 '${vnf_ip}' == '${EMPTY}' Fatal Error Variable \$\{ vnf_ip\} Empty Runs the given keyword with the given arguments, if ``condition`` is true. ${mgmt_vnf_ip} ${vnf_ip} Makes a variable available everywhere within the scope of the current suite. ${mgmt_vnf_ip} = 172.21.249.93 Obtains the management IP of the slice middle VNF (name in the reources file) and sets the ip as a suite variable (mgmt_vnf_ip) cluster_slices daily regression slice_01 @{slice_ns_list} ${slice_name} ${middle_ns_name} Retrieves the list of NS in a slice removing one from the list. This is done to save time in the tests, avoiding one VNF to ping itself. Parameters: slice_name: Name of the slice instance exception_ns: Name of the ns that will not appear in the final list Execution example: @{slice_ns_list}= Get Slice Ns List Except One ${slice_name} ${exception_ns} ${slice_name} Verifies that the given item is not empty. Length is 10 ${exception_ns} Verifies that the given item is not empty. Length is 28 @{ns_list_string} osm ns-list | grep ${slice_name} | awk '!/${exception_ns}/' | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep slicebasic | awk '!/slicebasic.slice_basic_nsd_2/' | awk '{print $4}' 2>&1'. @{ns_list_string} = [ 0 | f1955ee1-deba-4a88-aab2-38f7d7c176c2 52c5c051-3e4b-4231-aee6-aa0f1fae09fd ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ f1955ee1-deba-4a88-aab2-38f7d7c176c2 | 52c5c051-3e4b-4231-aee6-aa0f1fae09fd ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: f1955ee1-deba-4a88-aab2-38f7d7c176c2 1: 52c5c051-3e4b-4231-aee6-aa0f1fae09fd @{slice_ns_list} = [ f1955ee1-deba-4a88-aab2-38f7d7c176c2 | 52c5c051-3e4b-4231-aee6-aa0f1fae09fd ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. f1955ee1-deba-4a88-aab2-38f7d7c176c2 52c5c051-3e4b-4231-aee6-aa0f1fae09fd @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} f1955ee1-deba-4a88-aab2-38f7d7c176c2 ${ns_id} Logs the given message with the given level. f1955ee1-deba-4a88-aab2-38f7d7c176c2 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep f1955ee1-deba-4a88-aab2-38f7d7c176c2 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | d9c6d9fb-0eb4-497e-925b-02aa25703f18 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ d9c6d9fb-0eb4-497e-925b-02aa25703f18 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: d9c6d9fb-0eb4-497e-925b-02aa25703f18 @{vnf_id_list} = [ d9c6d9fb-0eb4-497e-925b-02aa25703f18 ] @{ns_ip_list} @{vnf_id_list} @{vnf_list} Verifies that the given item is not empty. Length is 36 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${vnf_id} @{vnf_list} d9c6d9fb-0eb4-497e-925b-02aa25703f18 ${vnf_id} Logs the given message with the given level. d9c6d9fb-0eb4-497e-925b-02aa25703f18 @{vnf_ip_list} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 @{vnf_ip_list_string} osm vnf-list --filter id=${vnf_id} | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter id=d9c6d9fb-0eb4-497e-925b-02aa25703f18 | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -t: -u -k1,1 2>&1'. @{vnf_ip_list_string} = [ 0 | 172.21.249.141 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 14 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.249.141 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.141 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.141 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.141 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.141 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.141 ] 52c5c051-3e4b-4231-aee6-aa0f1fae09fd ${ns_id} Logs the given message with the given level. 52c5c051-3e4b-4231-aee6-aa0f1fae09fd @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 52c5c051-3e4b-4231-aee6-aa0f1fae09fd | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | e628277d-cf6e-43e7-86cd-420f7b979136 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ e628277d-cf6e-43e7-86cd-420f7b979136 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: e628277d-cf6e-43e7-86cd-420f7b979136 @{vnf_id_list} = [ e628277d-cf6e-43e7-86cd-420f7b979136 ] @{ns_ip_list} @{vnf_id_list} @{vnf_list} Verifies that the given item is not empty. Length is 36 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${vnf_id} @{vnf_list} e628277d-cf6e-43e7-86cd-420f7b979136 ${vnf_id} Logs the given message with the given level. e628277d-cf6e-43e7-86cd-420f7b979136 @{vnf_ip_list} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 @{vnf_ip_list_string} osm vnf-list --filter id=${vnf_id} | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter id=e628277d-cf6e-43e7-86cd-420f7b979136 | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -t: -u -k1,1 2>&1'. @{vnf_ip_list_string} = [ 0 | 172.21.249.42 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 13 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.249.42 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.42 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.42 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.42 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.42 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.141 | 172.21.249.42 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 172.21.249.141 1: 172.21.249.42 ${slice_vnfs_ips} ${temp_list} Makes a variable available everywhere within the scope of the current suite. ${slice_vnfs_ips} = ['172.21.249.141', '172.21.249.42'] Obtains the list of IPs addresses in the slice and sets the list as a suite variable (slice_vnfs_ips) cluster_slices daily regression slice_01 60s Waiting for the network to be up Pauses the test executed for the given time. Slept 1 minute Waiting for the network to be up ${mgmt_vnf_ip} Logs the given message with the given level. 172.21.249.93 ${mgmt_vnf_ip} ${connectivity_max_wait_time} ${connectivity_pol_time} Test Ping Host ${host} Runs the specified keyword and retries if it fails. ${host} Run Ping Parameters: host: IP or name of the host Execution example: Ping Test ${host} ${rc} ${stdout} ping -c 2 -W 1 ${host} Runs the given command in the system and returns the RC and output. Running command 'ping -c 2 -W 1 172.21.249.93 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.93 (172.21.249.93) 56(84) bytes of data. 64 bytes from 172.21.249.93: icmp_seq=1 ttl=63 time=2.63 ms 64 bytes from 172.21.249.93: icmp_seq=2 ttl=63 time=0.673 ms --- 172.21.249.93 pin... ${stdout} Logs the given message with the given level. PING 172.21.249.93 (172.21.249.93) 56(84) bytes of data. 64 bytes from 172.21.249.93: icmp_seq=1 ttl=63 time=2.63 ms 64 bytes from 172.21.249.93: icmp_seq=2 ttl=63 time=0.673 ms --- 172.21.249.93 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.673/1.650/2.628/0.977 ms ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Pings the slice middle vnf (mgmt_vnf_ip) cluster_slices daily regression slice_01 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${mgmt_vnf_ip} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.93:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 05:01:44 UTC 2024 System load: 0.03 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.249.93 Memory usage: 12% IP address for ens4: 192.168.188.180 Swap usage: 0% IP address for ens5: 192.168.89.193 Processes: 85 0 updates can be applied immediately. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file cluster_slices daily regression slice_01 ${mgmt_vnf_ip} ${username} ${password} ${privatekey} @{slice_vnfs_ips} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.93:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 05:01:46 UTC 2024 System load: 0.19 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.93 Memory usage: 12% IP address for ens4: 192.168.188.180 Swap usage: 0% IP address for ens5: 192.168.89.193 Processes: 85 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 05:01:45 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ ${ip} @{ip_list} 172.21.249.141 ${result} ping -c 5 -W 1 ${ip} > /dev/null && echo OK shell=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 -W 1 172.21.249.141 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. 172.21.249.42 ${result} ping -c 5 -W 1 ${ip} > /dev/null && echo OK shell=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 -W 1 172.21.249.42 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file and pings all the IP addresses in the list (slice_vnfs_ips) cluster_slices daily regression slice_01 ${slice_name} Delete Network Slice Instance (NSI) Parameters: slice_name: Name of the slice instance slice_delete_max_wait_time: Delete operation timeout Execution example: Delete NST ${slice_name} ${rc} ${stdout} osm nsi-delete ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-delete slicebasic 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_pol_time} Check For Network Slice Instance To Be Deleted ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 0 ${stdout} = slicebasic ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. slicebasic == slicebasic ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 0 ${stdout} = slicebasic ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. slicebasic == slicebasic ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 0 ${stdout} = slicebasic ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. slicebasic == slicebasic ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. Stops the slice instance (slice_name) cleanup cluster_slices daily regression slice_01 ${nst_name} ${rc} ${stdout} osm netslice-template-delete ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-delete slice_basic_nst 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For NST ${nst_id} Runs the specified keyword and retries if it fails. ${nst_id} ${rc} ${stdout} osm netslice-template-list | awk '{print $2}' | grep ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-list | awk '{print $2}' | grep slice_basic_nst 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nst_id} Fails if objects are equal after converting them to strings. Deletes the NST (nst_name) from OSM cleanup cluster_slices daily regression slice_01 ${nsd1_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete slice_basic_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep slice_basic_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. ${nsd2_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete slice_basic_middle_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep slice_basic_middle_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. Deletes all the NSDs created for the test: nsd1_name, nsd2_name cleanup cluster_slices daily regression slice_01 ${vnfd1_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete slice_basic_vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep slice_basic_vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd2_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete slice_basic_middle_vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep slice_basic_middle_vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. Deletes all the VNFDs created for the test: vnfd1_name, vnfd2_name cleanup cluster_slices daily regression slice_01 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptors, instance and template Delete NSI ${slice_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NST ${nst_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd2_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd2_name} Runs the given keyword with the given arguments, if one or more tests failed. [SLICE-01] Network Slicing. '%{PACKAGES_FOLDER}/${vnfd1_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/slice_basic_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_vnf Package created: /robot-systest/osm-packages/slice_bas... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_vnf Package created: /robot-systest/osm-packages/slice_basic_vnf.tar.gz Uploading package /robot-systest/osm-packages/slice_basic_vnf.tar.gz 36a5d434-536a-471c-8fe6-310226343a55 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 36a5d434-536a-471c-8fe6-310226343a55 '%{PACKAGES_FOLDER}/${vnfd2_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/slice_basic_middle_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_middle_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_vnf Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_middle_vnf Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_vnf Package created: /robot-systest/osm-packages/slice_basic_middle_vnf.tar.gz Uploading package /robot-systest/osm-packages/slice_basic_middle_vnf.tar.gz fad8f7e3-a6d0-4c02-9b4d-360929205211 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = fad8f7e3-a6d0-4c02-9b4d-360929205211 Onboards all the VNFDs required for the test: vnfd1_pkg and vnfd2_pkg (in the variables file) cluster_slices daily regression slice_02 '%{PACKAGES_FOLDER}/${nsd1_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/slice_basic_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_ns Package created: /robot-systest/osm-packages/slice_basic... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_ns Package created: /robot-systest/osm-packages/slice_basic_ns.tar.gz 56976378-5f99-43cd-b055-2252e5056987 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 56976378-5f99-43cd-b055-2252e5056987 '%{PACKAGES_FOLDER}/${nsd2_pkg}' ${rc} ${stdout} osm nspkg-create ${nsd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-create '/robot-systest/osm-packages/slice_basic_middle_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/slice_basic_middle_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_ns Package created: /robot-systest/osm-packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/slice_basic_middle_ns Validation OK List of charms in the descriptor: set() Adding File: slice_basic_middle_ns Package created: /robot-systest/osm-packages/slice_basic_middle_ns.tar.gz 0984b565-f806-46dc-b168-c8b45c879450 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 6 lines ${lines} = 6 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 5 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 0984b565-f806-46dc-b168-c8b45c879450 Onboards all the NSDs required for the test: nsd1_pkg and nsd2_pkg (in the variables file) cluster_slices daily regression slice_02 '%{PACKAGES_FOLDER}/${nst}' ${rc} ${stdout} osm netslice-template-create ${nst} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-create '/robot-systest/osm-packages/slice_basic_nst/slice_basic_nst.yaml' 2>&1'. ${rc} = 0 ${stdout} = d767b5e4-3840-4ba6-8e8c-a7479e634be5 ${stdout} Logs the given message with the given level. d767b5e4-3840-4ba6-8e8c-a7479e634be5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> '%{PACKAGES_FOLDER}/${nst2}' ${rc} ${stdout} osm netslice-template-create ${nst} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-create '/robot-systest/osm-packages/slice_basic_nst/slice_basic_2nd_nst.yaml' 2>&1'. ${rc} = 0 ${stdout} = e0eb1f21-d432-4836-b66f-314711140cb6 ${stdout} Logs the given message with the given level. e0eb1f21-d432-4836-b66f-314711140cb6 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Onboards the Network Slice Templates: nst, nst2 (in the variables file) cluster_slices daily regression slice_02 ${id} ${nst_name} %{VIM_TARGET} ${slice_name} ${nst_config} ${publickey} Instantiates a NST and returns an instantiation id (nsi), verifying the slice is successfully instantiated Parameters: nst: Name of the slice template vim_name: Name of the VIM entry already in OSM slice_name: Name of the slice instance slice_config: Extra parameters that might require the slice instantiation i.e. configuration attributes publickey: SSH public key of the local machine Execution example: ${nsi}= Create Network Slice ${nst} ${vim_name} ${slice_name} ${slice_config} ${publickey} ${slice_launch_max_wait_time} ${slice_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_launch_max_wait_time} = 360.0 ${slice_launch_max_wait_time} ${slice_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_launch_max_wait_time} = 360.0 ${config_attr} '${slice_config}'!='${EMPTY}' --config '${slice_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{netslice-vld: [ {name: slice_vld_mgmt, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${nsi_id} ${slice_name} ${nst} ${vim_name} ${config_attr} ${config_file_attr} ${sshkeys_attr} Instantiates a NST and returns an instantiation id (nsi) Parameters: slice_name: Name of the slice instance nst: Name of the slice template vim_name: Name of the VIM entry already in OSM slice_extra_args: Extra parameters that might require the slice instantiation i.e. configuration attributes Execution example: ${nsi}= Instantiate Network Slice ${slice_name} ${nst} ${vim_name} ${config_attr} ${rc} ${stdout} osm nsi-create --nsi_name ${slice_name} --nst_name ${nst} --vim_account ${vim_name} ${sshkeys_attr} ${slice_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-create --nsi_name slicebasic --nst_name slice_basic_nst --vim_account osm --ssh_keys /root/.ssh/id_rsa.pub --config '{netslice-vld: [ {name: slice_vld_mgmt, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = c8e790bd-92f1-4772-86df-0f6b7c5d54cc ${stdout} Logs the given message with the given level. c8e790bd-92f1-4772-86df-0f6b7c5d54cc ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = c8e790bd-92f1-4772-86df-0f6b7c5d54cc ${nsi_id} Logs the given message with the given level. c8e790bd-92f1-4772-86df-0f6b7c5d54cc ${slice_launch_max_wait_time} ${slice_launch_pol_time} Check For Network Slice Instance To Configured ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational s... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | running | configured | done | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. ${slice_name} Verify the slice instance is not in failure Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance For Failure ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="slicebasic" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational s... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | slicebasic | c8e790bd-92f1-4772-86df-0f6b7c5d54cc | running | configured | done | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} failed Fails if ``container`` contains ``item`` one or more times. ${id} = c8e790bd-92f1-4772-86df-0f6b7c5d54cc ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = c8e790bd-92f1-4772-86df-0f6b7c5d54cc Instantiates the First NST recently onboarded (nst_name) and sets the instantiation id as a suite variable (nsi_id) The slice contains 3 NS (1 shared) cluster_slices daily regression slice_02 ${id} ${nst2_name} %{VIM_TARGET} ${slice2_name} ${nst_config} ${publickey} Instantiates a NST and returns an instantiation id (nsi), verifying the slice is successfully instantiated Parameters: nst: Name of the slice template vim_name: Name of the VIM entry already in OSM slice_name: Name of the slice instance slice_config: Extra parameters that might require the slice instantiation i.e. configuration attributes publickey: SSH public key of the local machine Execution example: ${nsi}= Create Network Slice ${nst} ${vim_name} ${slice_name} ${slice_config} ${publickey} ${slice_launch_max_wait_time} ${slice_launch_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_launch_max_wait_time} = 360.0 ${slice_launch_max_wait_time} ${slice_launch_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_launch_max_wait_time} = 360.0 ${config_attr} '${slice_config}'!='${EMPTY}' --config '${slice_config}' \ Sets variable based on the given condition. ${config_attr} = --config '{netslice-vld: [ {name: slice_vld_mgmt, vim-network-name: osm-ext} ] }' ${sshkeys_attr} '${publickey}'!='${EMPTY}' --ssh_keys ${publickey} \ Sets variable based on the given condition. ${sshkeys_attr} = --ssh_keys /root/.ssh/id_rsa.pub ${config_file_attr} '${config_file}'!='${EMPTY}' --config_file '${config_file}' \ Sets variable based on the given condition. ${config_file_attr} = ${nsi_id} ${slice_name} ${nst} ${vim_name} ${config_attr} ${config_file_attr} ${sshkeys_attr} Instantiates a NST and returns an instantiation id (nsi) Parameters: slice_name: Name of the slice instance nst: Name of the slice template vim_name: Name of the VIM entry already in OSM slice_extra_args: Extra parameters that might require the slice instantiation i.e. configuration attributes Execution example: ${nsi}= Instantiate Network Slice ${slice_name} ${nst} ${vim_name} ${config_attr} ${rc} ${stdout} osm nsi-create --nsi_name ${slice_name} --nst_name ${nst} --vim_account ${vim_name} ${sshkeys_attr} ${slice_extra_args} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-create --nsi_name sliceshared --nst_name slice_basic_nst2 --vim_account osm --ssh_keys /root/.ssh/id_rsa.pub --config '{netslice-vld: [ {name: slice_vld_mgmt, vim-network-name: osm-ext} ] }' 2>&1'. ${rc} = 0 ${stdout} = 5ef6dffd-0acc-457b-9624-cca07452d9ef ${stdout} Logs the given message with the given level. 5ef6dffd-0acc-457b-9624-cca07452d9ef ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 5ef6dffd-0acc-457b-9624-cca07452d9ef ${nsi_id} Logs the given message with the given level. 5ef6dffd-0acc-457b-9624-cca07452d9ef ${slice_launch_max_wait_time} ${slice_launch_pol_time} Check For Network Slice Instance To Configured ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="sliceshared" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | sliceshared | 5ef6dffd-0acc-457b-9624-cca07452d9ef | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | sliceshared | 5ef6dffd-0acc-457b-9624-cca07452d9ef | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="sliceshared" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id ... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | sliceshared | 5ef6dffd-0acc-457b-9624-cca07452d9ef | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. '+------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+ | sliceshared | 5ef6dffd-0acc-457b-9624-cca07452d9ef | init | Not found | Instantiating netslice subnets | +------------------------+--------------------------------------+--------------------+---------------+--------------------------------+' does not contain any of 'READY', 'BROKEN' or 'configured' ${slice_name} Verify the slice has been instantiated Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance To Configured ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="sliceshared" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational s... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | sliceshared | 5ef6dffd-0acc-457b-9624-cca07452d9ef | running | configured | done | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} READY BROKEN configured Fails if ``container`` does not contain any of the ``*items``. ${slice_name} Verify the slice instance is not in failure Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance For Failure ${slice_name} ${rc} ${stdout} osm nsi-list --filter name="${slice_name}" Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list --filter name="sliceshared" 2>&1'. ${rc} = 0 ${stdout} = +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational s... ${stdout} Logs the given message with the given level. +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | netslice instance name | id | operational status | config status | detailed status | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ | sliceshared | 5ef6dffd-0acc-457b-9624-cca07452d9ef | running | configured | done | +------------------------+--------------------------------------+--------------------+---------------+-----------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} failed Fails if ``container`` contains ``item`` one or more times. ${id} = 5ef6dffd-0acc-457b-9624-cca07452d9ef ${nsi2_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi2_id} = 5ef6dffd-0acc-457b-9624-cca07452d9ef Instantiates the Second NST recently onboarded (nst2_name) and sets the instantiation id as a suite variable (nsi2_id) The slice contains 2 NS (1 shared) cluster_slices daily regression slice_02 ${slice1_count} ${slice_name} Returns the count of all the NS in a slice Parameters: slice_name: Name of the slice instance Execution example: ${slice_ns_count}= Get Slice Ns Count ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 10 ${rc} ${stdout} osm ns-list | grep ${slice_name} | wc -l 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep slicebasic | wc -l 2>&1'. ${rc} = 0 ${stdout} = 3 ${stdout} Logs the given message with the given level. 3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice1_count} = 3 ${slice2_count} ${slice2_name} Returns the count of all the NS in a slice Parameters: slice_name: Name of the slice instance Execution example: ${slice_ns_count}= Get Slice Ns Count ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 11 ${rc} ${stdout} osm ns-list | grep ${slice_name} | wc -l 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep sliceshared | wc -l 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice2_count} = 1 ${together} ${slice1_count} + ${slice2_count} Evaluates the given expression in Python and returns the result. ${together} = 4 ${together} 4 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Counts the NS in both slice instances and shoul be equal to 4 cluster_slices daily regression slice_02 ${middle_ns_id} osm ns-list | grep ${middle_ns_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep slicebasic.slice_basic_nsd_2 | awk '{print $4}' 2>&1'. ${middle_ns_id} = (0, '90363193-5124-427a-9787-e3a253cdb0b6') ${vnf_ip} ${middle_ns_id}[1] ${vnf_member_index} ${ns_id} Verifies that the given item is not empty. Length is 36 ${vnf_member_index} Verifies that the given item is not empty. Length is 6 ${rc} ${stdout} osm vnf-list --filter member-vnf-index-ref=${vnf_member_index} | grep ${ns_id} | awk '{print $14}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter member-vnf-index-ref=middle | grep 90363193-5124-427a-9787-e3a253cdb0b6 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.64 ${stdout} Logs the given message with the given level. 172.21.248.64 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_ip} = 172.21.248.64 '${vnf_ip}' == '${EMPTY}' Fatal Error Variable \$\{ vnf_ip\} Empty Runs the given keyword with the given arguments, if ``condition`` is true. ${mgmt_vnf_ip} ${vnf_ip} Makes a variable available everywhere within the scope of the current suite. ${mgmt_vnf_ip} = 172.21.248.64 Obtains the management IP of the shared NS main (only) VNF and sets it as a suite variable (mgmt_vnf_ip) cluster_slices daily regression slice_02 @{ip_list} ${slice_name} Retrieves the list of IP addresses that belong to each of the VNFs in the slice Parameters: slice_name: Name of the slice instance Execution example: @{slice_ip_address_list}= Get Slice Vnf Ip Addresses ${slice_name} @{slice_ns_list} ${slice_name} Retrieves the list of NS in a slice Parameters: slice_name: Name of the slice instance Execution example: @{slice_ns_list}= Get Slice Ns List ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 10 @{ns_list_string} osm ns-list | grep ${slice_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep slicebasic | awk '{print $4}' 2>&1'. @{ns_list_string} = [ 0 | 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 90363193-5124-427a-9787-e3a253cdb0b6 fa1589f6-3225-49d9-b607-c351d03e6bd3 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 | 90363193-5124-427a-9787-e3a253cdb0b6 | fa1589f6-3225-49d9-b607-c351d03e6bd3 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 1: 90363193-5124-427a-9787-e3a253cdb0b6 2: fa1589f6-3225-49d9-b607-c351d03e6bd3 @{slice_ns_list} = [ 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 | 90363193-5124-427a-9787-e3a253cdb0b6 | fa1589f6-3225-49d9-b607-c351d03e6bd3 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 90363193-5124-427a-9787-e3a253cdb0b6 fa1589f6-3225-49d9-b607-c351d03e6bd3 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 ${ns_id} Logs the given message with the given level. 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 2efbcbb7-fdf3-48a5-9434-4fa2f81a2837 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 19d21a26-ddbc-41d4-8708-378b302b5969 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 19d21a26-ddbc-41d4-8708-378b302b5969 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 19d21a26-ddbc-41d4-8708-378b302b5969 @{vnf_id_list} = [ 19d21a26-ddbc-41d4-8708-378b302b5969 ] @{ns_ip_list} @{vnf_id_list} @{vnf_list} Verifies that the given item is not empty. Length is 36 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${vnf_id} @{vnf_list} 19d21a26-ddbc-41d4-8708-378b302b5969 ${vnf_id} Logs the given message with the given level. 19d21a26-ddbc-41d4-8708-378b302b5969 @{vnf_ip_list} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 @{vnf_ip_list_string} osm vnf-list --filter id=${vnf_id} | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter id=19d21a26-ddbc-41d4-8708-378b302b5969 | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -t: -u -k1,1 2>&1'. @{vnf_ip_list_string} = [ 0 | 172.21.249.255 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 14 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.249.255 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.255 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.255 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.255 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.255 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.255 ] 90363193-5124-427a-9787-e3a253cdb0b6 ${ns_id} Logs the given message with the given level. 90363193-5124-427a-9787-e3a253cdb0b6 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep 90363193-5124-427a-9787-e3a253cdb0b6 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 58bbc6a1-f3e7-4c7e-90d7-674ebc34e5ab ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 58bbc6a1-f3e7-4c7e-90d7-674ebc34e5ab ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 58bbc6a1-f3e7-4c7e-90d7-674ebc34e5ab @{vnf_id_list} = [ 58bbc6a1-f3e7-4c7e-90d7-674ebc34e5ab ] @{ns_ip_list} @{vnf_id_list} @{vnf_list} Verifies that the given item is not empty. Length is 36 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${vnf_id} @{vnf_list} 58bbc6a1-f3e7-4c7e-90d7-674ebc34e5ab ${vnf_id} Logs the given message with the given level. 58bbc6a1-f3e7-4c7e-90d7-674ebc34e5ab @{vnf_ip_list} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 @{vnf_ip_list_string} osm vnf-list --filter id=${vnf_id} | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter id=58bbc6a1-f3e7-4c7e-90d7-674ebc34e5ab | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -t: -u -k1,1 2>&1'. @{vnf_ip_list_string} = [ 0 | 172.21.248.64 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 13 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.248.64 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.64 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.64 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.64 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.64 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.255 | 172.21.248.64 ] fa1589f6-3225-49d9-b607-c351d03e6bd3 ${ns_id} Logs the given message with the given level. fa1589f6-3225-49d9-b607-c351d03e6bd3 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep fa1589f6-3225-49d9-b607-c351d03e6bd3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | c6e08f08-3bdb-44e8-9dfe-a9540b75f778 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ c6e08f08-3bdb-44e8-9dfe-a9540b75f778 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: c6e08f08-3bdb-44e8-9dfe-a9540b75f778 @{vnf_id_list} = [ c6e08f08-3bdb-44e8-9dfe-a9540b75f778 ] @{ns_ip_list} @{vnf_id_list} @{vnf_list} Verifies that the given item is not empty. Length is 36 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${vnf_id} @{vnf_list} c6e08f08-3bdb-44e8-9dfe-a9540b75f778 ${vnf_id} Logs the given message with the given level. c6e08f08-3bdb-44e8-9dfe-a9540b75f778 @{vnf_ip_list} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 @{vnf_ip_list_string} osm vnf-list --filter id=${vnf_id} | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter id=c6e08f08-3bdb-44e8-9dfe-a9540b75f778 | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -t: -u -k1,1 2>&1'. @{vnf_ip_list_string} = [ 0 | 172.21.248.77 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 13 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.248.77 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.77 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.77 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.77 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.77 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.255 | 172.21.248.64 | 172.21.248.77 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: 172.21.249.255 1: 172.21.248.64 2: 172.21.248.77 @{ip_list} = [ 172.21.249.255 | 172.21.248.64 | 172.21.248.77 ] ${ip_list} is not None Fails if the given condition is not true. ${slice1_vnfs_ips} ${ip_list} Makes a variable available everywhere within the scope of the current suite. ${slice1_vnfs_ips} = ['172.21.249.255', '172.21.248.64', '172.21.248.77'] Obtains the list of IPs addresses in the first slice and sets the list as a suite variable (slice1_vnfs_ips) cluster_slices daily regression slice_02 60s Waiting for the network to be up Pauses the test executed for the given time. Slept 1 minute Waiting for the network to be up ${mgmt_vnf_ip} ${connectivity_max_wait_time} ${connectivity_pol_time} Test Ping Host ${host} Runs the specified keyword and retries if it fails. ${host} Run Ping Parameters: host: IP or name of the host Execution example: Ping Test ${host} ${rc} ${stdout} ping -c 2 -W 1 ${host} Runs the given command in the system and returns the RC and output. Running command 'ping -c 2 -W 1 172.21.248.64 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.64 (172.21.248.64) 56(84) bytes of data. 64 bytes from 172.21.248.64: icmp_seq=1 ttl=63 time=2.61 ms 64 bytes from 172.21.248.64: icmp_seq=2 ttl=63 time=0.588 ms --- 172.21.248.64 pin... ${stdout} Logs the given message with the given level. PING 172.21.248.64 (172.21.248.64) 56(84) bytes of data. 64 bytes from 172.21.248.64: icmp_seq=1 ttl=63 time=2.61 ms 64 bytes from 172.21.248.64: icmp_seq=2 ttl=63 time=0.588 ms --- 172.21.248.64 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.588/1.597/2.607/1.009 ms ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Pings the slice middle vnf (mgmt_vnf_ip) cluster_slices daily regression slice_02 30s Waiting ssh daemon to be up Pauses the test executed for the given time. Slept 30 seconds Waiting ssh daemon to be up ${mgmt_vnf_ip} ${username} ${password} ${privatekey} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.64:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 05:07:44 UTC 2024 System load: 0.03 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.248.64 Memory usage: 12% IP address for ens4: 192.168.237.132 Swap usage: 0% IP address for ens5: 192.168.143.198 Processes: 86 0 updates can be applied immediately. The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ hostname Executes ``command`` on the remote machine and returns its outputs. Executing command 'hostname'. Command exited with return code 0. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file cluster_slices daily regression slice_02 ${mgmt_vnf_ip} ${username} ${password} ${privatekey} @{slice1_vnfs_ips} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.64:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 05:07:47 UTC 2024 System load: 0.03 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.248.64 Memory usage: 12% IP address for ens4: 192.168.237.132 Swap usage: 0% IP address for ens5: 192.168.143.198 Processes: 86 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 05:07:45 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ ${ip} @{ip_list} 172.21.249.255 ${result} ping -c 5 -W 1 ${ip} > /dev/null && echo OK shell=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 -W 1 172.21.249.255 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. 172.21.248.64 ${result} ping -c 5 -W 1 ${ip} > /dev/null && echo OK shell=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 -W 1 172.21.248.64 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. 172.21.248.77 ${result} ping -c 5 -W 1 ${ip} > /dev/null && echo OK shell=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 -W 1 172.21.248.77 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file and pings all the IP addresses in the list (slice1_vnfs_ips) cluster_slices daily regression slice_02 ${slice_name} Delete Network Slice Instance (NSI) Parameters: slice_name: Name of the slice instance slice_delete_max_wait_time: Delete operation timeout Execution example: Delete NST ${slice_name} ${rc} ${stdout} osm nsi-delete ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-delete slicebasic 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_pol_time} Check For Network Slice Instance To Be Deleted ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 0 ${stdout} = slicebasic ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. slicebasic == slicebasic ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 0 ${stdout} = slicebasic ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. slicebasic == slicebasic ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep slicebasic 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. Stops the slice instance (slice_name) cleanup cluster_slices daily regression slice_02 ${slice1_count} ${slice_name} Returns the count of all the NS in a slice Parameters: slice_name: Name of the slice instance Execution example: ${slice_ns_count}= Get Slice Ns Count ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 10 ${rc} ${stdout} osm ns-list | grep ${slice_name} | wc -l 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep slicebasic | wc -l 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice1_count} = 1 ${slice2_count} ${slice2_name} Returns the count of all the NS in a slice Parameters: slice_name: Name of the slice instance Execution example: ${slice_ns_count}= Get Slice Ns Count ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 11 ${rc} ${stdout} osm ns-list | grep ${slice_name} | wc -l 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep sliceshared | wc -l 2>&1'. ${rc} = 0 ${stdout} = 1 ${stdout} Logs the given message with the given level. 1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice2_count} = 1 ${together} ${slice1_count} + ${slice2_count} Evaluates the given expression in Python and returns the result. ${together} = 2 ${together} 2 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Counts the NS in both slice instances and should be equal to 2 cluster_slices daily regression slice_02 @{ip_list} ${slice2_name} Retrieves the list of IP addresses that belong to each of the VNFs in the slice Parameters: slice_name: Name of the slice instance Execution example: @{slice_ip_address_list}= Get Slice Vnf Ip Addresses ${slice_name} @{slice_ns_list} ${slice_name} Retrieves the list of NS in a slice Parameters: slice_name: Name of the slice instance Execution example: @{slice_ns_list}= Get Slice Ns List ${slice_name} ${slice_name} Verifies that the given item is not empty. Length is 11 @{ns_list_string} osm ns-list | grep ${slice_name} | awk '{print $4}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list | grep sliceshared | awk '{print $4}' 2>&1'. @{ns_list_string} = [ 0 | e74850ca-e58b-432a-b7d1-1344d5ea1ba9 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ e74850ca-e58b-432a-b7d1-1344d5ea1ba9 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: e74850ca-e58b-432a-b7d1-1344d5ea1ba9 @{slice_ns_list} = [ e74850ca-e58b-432a-b7d1-1344d5ea1ba9 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. e74850ca-e58b-432a-b7d1-1344d5ea1ba9 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} e74850ca-e58b-432a-b7d1-1344d5ea1ba9 ${ns_id} Logs the given message with the given level. e74850ca-e58b-432a-b7d1-1344d5ea1ba9 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list | grep ${ns_id} | awk '{print $2}' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list | grep e74850ca-e58b-432a-b7d1-1344d5ea1ba9 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 674637fd-d978-4c6c-ad5e-4f11ed04add2 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 674637fd-d978-4c6c-ad5e-4f11ed04add2 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 674637fd-d978-4c6c-ad5e-4f11ed04add2 @{vnf_id_list} = [ 674637fd-d978-4c6c-ad5e-4f11ed04add2 ] @{ns_ip_list} @{vnf_id_list} @{vnf_list} Verifies that the given item is not empty. Length is 36 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${vnf_id} @{vnf_list} 674637fd-d978-4c6c-ad5e-4f11ed04add2 ${vnf_id} Logs the given message with the given level. 674637fd-d978-4c6c-ad5e-4f11ed04add2 @{vnf_ip_list} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 @{vnf_ip_list_string} osm vnf-list --filter id=${vnf_id} | grep -o '[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}\\.[0-9]\\{1,3\\}' | sort -t: -u -k1,1 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list --filter id=674637fd-d978-4c6c-ad5e-4f11ed04add2 | grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' | sort -t: -u -k1,1 2>&1'. @{vnf_ip_list_string} = [ 0 | 172.21.248.106 ] ${vnf_ip_list_string}[1] Verifies that the given item is not empty. Length is 14 @{vnf_ip_list} ${vnf_ip_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_ip_list} = [ 172.21.248.106 ] ${vnf_ip_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.106 ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.106 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.106 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.106 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.106 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.248.106 @{ip_list} = [ 172.21.248.106 ] ${ip_list} is not None Fails if the given condition is not true. ${slice2_vnfs_ips} ${ip_list} Makes a variable available everywhere within the scope of the current suite. ${slice2_vnfs_ips} = ['172.21.248.106'] Obtains the list of IPs addresses in the second slice and sets the list as a suite variable (slice2_vnfs_ips) cluster_slices daily regression slice_02 ${mgmt_vnf_ip} ${username} ${password} ${privatekey} @{slice2_vnfs_ips} ${host} Opens a new SSH connection to the given ``host`` and ``port``. '${password}'!='${EMPTY}' Login ${username} ${password} ELSE Login With Public Key ${username} ${privatekey} Runs the given keyword with the given arguments, if ``condition`` is true. ${username} ${privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.248.64:22' as 'ubuntu'. Read output: Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-180-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Mar 28 05:08:42 UTC 2024 System load: 0.12 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.248.64 Memory usage: 12% IP address for ens4: 192.168.237.132 Swap usage: 0% IP address for ens5: 192.168.143.198 Processes: 86 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Thu Mar 28 05:07:47 2024 from 172.21.249.4 To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details. ubuntu@slicebasic:~$ ${ip} @{ip_list} 172.21.248.106 ${result} ping -c 5 -W 1 ${ip} > /dev/null && echo OK shell=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'ping -c 5 -W 1 172.21.248.106 > /dev/null && echo OK'. Command exited with return code 0. ${result} = OK ${result} Logs the given message with the given level. OK ${result} OK Fails if ``container`` does not contain ``item`` one or more times. Closes all open connections. SSH access to the slice middle vnf (mgmt_vnf_ip) with the credentials provided in the variables file and pings all the IP addresses in the list (slice2_vnfs_ips) cluster_slices daily regression slice_02 ${slice2_name} Delete Network Slice Instance (NSI) Parameters: slice_name: Name of the slice instance slice_delete_max_wait_time: Delete operation timeout Execution example: Delete NST ${slice_name} ${rc} ${stdout} osm nsi-delete ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-delete sliceshared 2>&1'. ${rc} = 0 ${stdout} = Deletion in progress ${stdout} Logs the given message with the given level. Deletion in progress ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} result_format=number Converts between supported `time formats`. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_max_wait_time} * ${vim_timeout_multiplier} Evaluates the given expression in Python and returns the result. ${slice_delete_max_wait_time} = 240.0 ${slice_delete_max_wait_time} ${slice_delete_pol_time} Check For Network Slice Instance To Be Deleted ${slice_name} Runs the specified keyword and retries if it fails. ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 0 ${stdout} = sliceshared ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. sliceshared == sliceshared ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 0 ${stdout} = sliceshared ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. sliceshared == sliceshared ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 0 ${stdout} = sliceshared ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. sliceshared == sliceshared ${slice_name} Verify the slice instance is not present Parameters: slice_name: Name of the slice instance Execution example: Check For Network Slice Instance ${slice_name} ${rc} ${stdout} osm nsi-list | awk '{print $2}' | grep ${slice_name} Runs the given command in the system and returns the RC and output. Running command 'osm nsi-list | awk '{print $2}' | grep sliceshared 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${slice_name} Fails if objects are equal after converting them to strings. Stops the slice instance (slice2_name) cleanup cluster_slices daily regression slice_02 ${nst_name} ${rc} ${stdout} osm netslice-template-delete ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-delete slice_basic_nst 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For NST ${nst_id} Runs the specified keyword and retries if it fails. ${nst_id} ${rc} ${stdout} osm netslice-template-list | awk '{print $2}' | grep ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-list | awk '{print $2}' | grep slice_basic_nst 2>&1'. ${rc} = 0 ${stdout} = slice_basic_nst2 ${stdout} ${nst_id} Fails if objects are equal after converting them to strings. Deletes the NST (nst_name) from OSM cleanup cluster_slices daily regression slice_02 ${nst2_name} ${rc} ${stdout} osm netslice-template-delete ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-delete slice_basic_nst2 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For NST ${nst_id} Runs the specified keyword and retries if it fails. ${nst_id} ${rc} ${stdout} osm netslice-template-list | awk '{print $2}' | grep ${nst_id} Runs the given command in the system and returns the RC and output. Running command 'osm netslice-template-list | awk '{print $2}' | grep slice_basic_nst2 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nst_id} Fails if objects are equal after converting them to strings. Deletes the NST (nst2_name) from OSM cleanup cluster_slices daily regression slice_02 ${nsd1_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete slice_basic_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep slice_basic_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. ${nsd2_name} ${rc} ${stdout} Run and Return RC and Output osm nspkg-delete ${nsd_id} Runs the keyword and continues execution even if a failure occurs. osm nspkg-delete ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-delete slice_basic_middle_ns 2>&1'. ${rc} = 0 ${stdout} = Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} Logs the given message with the given level. Deleted ${delete_max_wait_time} ${delete_pol_time} Check For NSD ${nsd_id} Runs the specified keyword and retries if it fails. ${nsd_id} ${rc} ${stdout} osm nspkg-list | awk '{print $2}' | grep ${nsd_id} Runs the given command in the system and returns the RC and output. Running command 'osm nspkg-list | awk '{print $2}' | grep slice_basic_middle_ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. Deletes all the NSDs created for the test: nsd1_name, nsd2_name cleanup cluster_slices daily regression slice_02 ${vnfd1_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete slice_basic_vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep slice_basic_vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. ${vnfd2_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete slice_basic_middle_vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep slice_basic_middle_vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. Deletes all the VNFDs created for the test: vnfd1_name, vnfd2_name cleanup cluster_slices daily regression slice_02 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptors, instance and templates Delete NSI ${slice_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSI ${slice2_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NST ${nst_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NST ${nst2_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete NSD ${nsd2_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd1_name} Runs the given keyword with the given arguments, if one or more tests failed. Delete VNFD ${vnfd2_name} Runs the given keyword with the given arguments, if one or more tests failed. [SLICE-02] Shared Network Slicing. ${id} '%{PACKAGES_FOLDER}/${vnfd_pkg}' Onboards ("creates") a NF Package into OSM. - Parameters: - vnfd_pkg: Name (and location) of the NF Package - overrides (optional): String with options to override the EPA and/or interface properties of the Package. This is very useful to allow to deploy e.g. non-EPA packages in EPA VIMs (or vice-versa). Valid strings are the same as in the command. E.g.: - `--override-epa`: adds EPA attributes to all VDUs. - `--override-nonepa`: removes all EPA attributes from all VDUs. - `--override-paravirt`: converts all interfaces to `PARAVIRT`. This one can be combined with the others above (e.g. '--override-nonepa --override-paravirt'). - Relevant environment variables: - OVERRIDES: If the environment variable "OVERRIDES" exists, it prevails over the value in the argument. This is often more convenient to enforce the same behaviour for every test run in a given VIM. ${overrides} OVERRIDES default=${overrides} Returns the value of an environment variable with the given name. ${overrides} = ${rc} ${stdout} osm vnfpkg-create ${overrides} ${vnfd_pkg} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-create '/robot-systest/osm-packages/hackfest_basic_metrics_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/hackfest_basic_metrics_vnf Validation OK List of charms in the descriptor: set() Adding File: hackfest_basic_metrics_vnf Package created: /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz Uploading package /robot-systest/osm-packages/hackfest_basic_metrics_vnf.tar.gz 89680e14-63aa-46ad-aa4e-e9a21b255344 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${lines} ${stdout} Returns and logs the number of lines in the given string. 7 lines ${lines} = 7 ${last} ${lines} - 1 Evaluates the given expression in Python and returns the result. ${last} = 6 ${id} ${stdout} ${last} Returns the specified line from the given ``string``. ${id} = 89680e14-63aa-46ad-aa4e-e9a21b255344 ${id} = 89680e14-63aa-46ad-aa4e-e9a21b255344 ${vnfid} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfid} = 89680e14-63aa-46ad-aa4e-e9a21b255344 ${created_vim_account_id} %{VIM_TARGET} ${rc} ${stdout} osm vim-list | grep " ${vim_name} " | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'osm vim-list | grep " osm " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = f6a79968-45e5-41a2-9e5c-d2f0b694392a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${EMPTY} msg=VIM Target '${vim_name}' not found values=false Fails if objects are equal after converting them to strings. ${created_vim_account_id} = f6a79968-45e5-41a2-9e5c-d2f0b694392a ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = f6a79968-45e5-41a2-9e5c-d2f0b694392a auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:00 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/6QodSboEHciPdPlXUajvCm2AG13qpPp4', 'Content-Length': '548', 'Set-Cookie': 'session_id=0cf2f00e9266e691fc5edcde2a0b3f1cd58d756f; expires=Thu, 28 Mar 2024 06:10:00 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602600.0259705, "expires": 1711606200.0259705, "_id": "6QodSboEHciPdPlXUajvCm2AG13qpPp4", "id": "6QodSboEHciPdPlXUajvCm2AG13qpPp4", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 18322, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['6QodSboEHciPdPlXUajvCm2AG13qpPp4', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 6QodSboEHciPdPlXUajvCm2AG13qpPp4 ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${json_path} To Read Current Direct ory ${Directory} /robot-systest/lib lib resources/ Replaces ``search_for`` in the given ``string`` with ``replace_with``. ${Directory} = /robot-systest/resources/ ${json_path} ${Directory} Returns the given values which can then be assigned to a variables. ${json_path} = /robot-systest/resources/ ${json_path} = /robot-systest/resources/ ${json_obj} ${json_path}/sol003_01-vnf-lifecycle-management.json Load JSON from file. ${json_obj} = {'data': [{'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': '8dc2f11d-e08a-4ec7-920c-6b8a88bff1... ${json_obj} ${json_obj['data'][0]} Returns variable value or ``default`` if the variable does not exist. ${json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': '8dc2f11d-e08a-4ec7-920c-6b8a88bff1e5', 'addi... ${updated_json_obj} ${json_obj} $..vimAccountId ${created_vim_account_id} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'f6a79968-45e5-41a2-9e5c-d2f0b694392a', 'addi... ${updated_json_obj} ${updated_json_obj} $..additionalParams.virtual-link-desc[0][id] %{VIM_MGMT_NET} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'f6a79968-45e5-41a2-9e5c-d2f0b694392a', 'addi... ${updated_json_obj} ${updated_json_obj} $..additionalParams.virtual-link-profile-id %{VIM_MGMT_NET} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'f6a79968-45e5-41a2-9e5c-d2f0b694392a', 'addi... ${updated_json_obj} Makes a variable available everywhere within the scope of the current test. ${updated_json_obj} = {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'f6a79968-45e5-41a2-9e5c-d2f0b694392a', 'addi... ${vnf_instance_uri} Keword to Post API Request APISession ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=APISession, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer 6QodSboEHciPdPlXUajvCm2AG13qpPp4 } ${request_response} APISession ${PostApi} json=${updated_json_obj} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances path_url=/osm/vnflcm/v1/vnf_instances headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 6QodSboEHciPdPlXUajvCm2AG13qpPp4', 'Content-Length': '355'} body=b'{"vnfdId": "hackfest_basic_metrics-vnf", "vnfInstanceName": "sol003-instance", "vnfInstanceDescription": "Test vnfm instance description", "vimAccountId": "f6a79968-45e5-41a2-9e5c-d2f0b694392a", "additionalParams": {"virtual-link-desc": [{"id": "osm-ext", "mgmt-network": true}], "constituent-cpd-id": "vnf-cp0-ext", "virtual-link-profile-id": "osm-ext"}}' POST Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances status=201, reason=Created headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:03 GMT', 'Location': '/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f', 'Content-Length': '53', 'Set-Cookie': 'session_id=b8ed3a807f719e0b771421bf2b2a7975732afbf4; expires=Thu, 28 Mar 2024 06:10:03 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [201]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [201]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 201 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 201 ${request_response.status_code} in ${success_status_code_list} Query VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..id Get Value From JSON using JSONPath ${id} = ['7c96b44a-0755-4700-8936-3c86c6545e9f'] ${createid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${createid} = 7c96b44a-0755-4700-8936-3c86c6545e9f Test case to create a VNF Identifier cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:03 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/9amBykBl3fhajcmx4kVvh6QlVBk1t2zz', 'Content-Length': '548', 'Set-Cookie': 'session_id=4ee67f6a7e187283796aa29fcf5e1baeb4925ee7; expires=Thu, 28 Mar 2024 06:10:03 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602603.5257375, "expires": 1711606203.5257375, "_id": "9amBykBl3fhajcmx4kVvh6QlVBk1t2zz", "id": "9amBykBl3fhajcmx4kVvh6QlVBk1t2zz", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 42651, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['9amBykBl3fhajcmx4kVvh6QlVBk1t2zz', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 9amBykBl3fhajcmx4kVvh6QlVBk1t2zz ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${json_path} To Read Current Direct ory ${Directory} /robot-systest/lib lib resources/ Replaces ``search_for`` in the given ``string`` with ``replace_with``. ${Directory} = /robot-systest/resources/ ${json_path} ${Directory} Returns the given values which can then be assigned to a variables. ${json_path} = /robot-systest/resources/ ${json_path} = /robot-systest/resources/ ${json_obj} ${json_path}/sol003_01-vnf-lifecycle-management.json Load JSON from file. ${json_obj} = {'data': [{'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': '8dc2f11d-e08a-4ec7-920c-6b8a88bff1... ${json_obj} ${json_obj['data'][1]} Returns variable value or ``default`` if the variable does not exist. ${json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': '70b47595-fafa-4f63-904b-fc3ada60eebb', 'vimAccountId': '8dc2f11d-e08a-4ec7-920c-6b8a88bff1e5'} ${updated_json_obj} ${json_obj} $..vimAccountId ${created_vim_account_id} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': '70b47595-fafa-4f63-904b-fc3ada60eebb', 'vimAccountId': 'f6a79968-45e5-41a2-9e5c-d2f0b694392a'} ${updated_json_obj} ${json_obj} $..vnfId ${createid} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': '7c96b44a-0755-4700-8936-3c86c6545e9f', 'vimAccountId': 'f6a79968-45e5-41a2-9e5c-d2f0b694392a'} ${updated_json_obj} Makes a variable available everywhere within the scope of the current test. ${updated_json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': '7c96b44a-0755-4700-8936-3c86c6545e9f', 'vimAccountId': 'f6a79968-45e5-41a2-9e5c-d2f0b694392a'} ${vnf_instantiate_uri}/${createid}/instantiate Keword to Post API Request APISession ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=APISession, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer 9amBykBl3fhajcmx4kVvh6QlVBk1t2zz } ${request_response} APISession ${PostApi} json=${updated_json_obj} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/instantiate path_url=/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/instantiate headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9amBykBl3fhajcmx4kVvh6QlVBk1t2zz', 'Content-Length': '168'} body=b'{"vnfName": "sol003-instance", "vnfDescription": "vnf package", "vnfId": "7c96b44a-0755-4700-8936-3c86c6545e9f", "vimAccountId": "f6a79968-45e5-41a2-9e5c-d2f0b694392a"}' POST Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/instantiate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:05 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b', 'Content-Length': '53', 'Set-Cookie': 'session_id=8151201419d620cc9454a07d82a7b3f6fdb8f906; expires=Thu, 28 Mar 2024 06:10:05 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "270a8595-8f73-4c88-8ae4-2a3b875e821b" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [202]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [202]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 202 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 202 ${request_response.status_code} in ${success_status_code_list} Instantiate VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..id Get Value From JSON using JSONPath ${id} = ['270a8595-8f73-4c88-8ae4-2a3b875e821b'] ${instantiateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${instantiateid} = 270a8595-8f73-4c88-8ae4-2a3b875e821b 12s Pauses the test executed for the given time. Slept 12 seconds Test case to Instantiate a VNF cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:17 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/Qsm0TLFvfgU1zDgfYatT5hNWGT7jFzT8', 'Content-Length': '548', 'Set-Cookie': 'session_id=1d50552fa4e6e58fc1f65fb11404e70facf4f124; expires=Thu, 28 Mar 2024 06:10:17 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602617.8766623, "expires": 1711606217.8766623, "_id": "Qsm0TLFvfgU1zDgfYatT5hNWGT7jFzT8", "id": "Qsm0TLFvfgU1zDgfYatT5hNWGT7jFzT8", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 13116, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['Qsm0TLFvfgU1zDgfYatT5hNWGT7jFzT8', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = Qsm0TLFvfgU1zDgfYatT5hNWGT7jFzT8 ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${vnf_instance_uri} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer Qsm0TLFvfgU1zDgfYatT5hNWGT7jFzT8 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances path_url=/osm/vnflcm/v1/vnf_instances headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Qsm0TLFvfgU1zDgfYatT5hNWGT7jFzT8'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:19 GMT', 'Content-Length': '4515', 'Set-Cookie': 'session_id=f36c63db4b6e7673a6f4f562614831412de95185; expires=Thu, 28 Mar 2024 06:10:19 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "7c96b44a-0755-4700-8936-3c86c6545e9f", "id": "7c96b44a-0755-4700-8936-3c86c6545e9f", "nsr-id-ref": "f0eaa849-2de5-4389-9cef-2ba7849d6b54", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1711602603.41911, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "89680e14-63aa-46ad-aa4e-e9a21b255344", "vim-account-id": "f6a79968-45e5-41a2-9e5c-d2f0b694392a", "vca-id": null, "vdur": [ { "_id": "173efea0-0453-47ae-9a1b-e2cfdf562434", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "f0eaa849-2de5-4389-9cef-2ba7849d6b54", "vdu": { "hackfest_basic_metrics-VM-0": { "count_index": 0, "interfaces": { "vdu-eth0": { "name": "vdu-eth0" } }, "vdu_id": "hackfest_basic_metrics-VM" } }, "vdu_id": "hackfest_basic_metrics-VM", "vim_account_id": "f6a79968-45e5-41a2-9e5c-d2f0b694392a", "vnf_id": "7c96b44a-0755-4700-8936-3c86c6545e9f", "vnfd_id": "89680e14-63aa-46ad-aa4e-e9a21b255344", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "89680e14-63aa-46ad-aa4e-e9a21b255344:file:cloud-config", "count-index": 0, "id": "173efea0-0453-47ae-9a1b-e2cfdf562434", "interfaces": [ { "external-connection-point-ref": "vnf-cp0-ext", "internal-connection-point-ref": "vdu-eth0-int", "mgmt-interface": true, "mgmt-vnf": true, "name": "vdu-eth0", "ns-vld-id": "osm-ext", "type": "PARAVIRT" } ], "internal-connection-point": [ { "connection-point-id": "vdu-eth0-int", "id": "vdu-eth0-int", "name": "vdu-eth0-int" } ], "ip-address": null, "ns-flavor-id": "0", "ns-image-id": "0", "vdu-id-ref": "hackfest_basic_metrics-VM", "vdu-name": "hackfest_basic_metrics-VM", "vim_info": { "vim:f6a79968-45e5-41a2-9e5c-d2f0b694392a": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "509d4e4c-46ab-472d-83c4-58a2f14cd191", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "509d4e4c-46ab-472d-83c4-58a2f14cd191" } ], "connection-point": [ { "name": "vnf-cp0-ext", "connection-point-id": "vdu-eth0-int", "connection-point-vdu-id": "hackfest_basic_metrics-VM", "id": "vnf-cp0-ext" } ], "ip-address": null, "revision": 1, "_admin": { "created": 1711602603.419303, "modified": 1711602603.419303, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "nsState": "INSTANTIATED" } } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} nsState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['INSTANTIATED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = INSTANTIATED ${value} = INSTANTIATED ${value} INSTANTIATED Fails if the given objects are unequal. ${request_response.status_code} in ${success_status_code_list} Query VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${id} = ['7c96b44a-0755-4700-8936-3c86c6545e9f', '173efea0-0453-47ae-9a1b-e2cfdf562434'] ${Queryid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Queryid} = 7c96b44a-0755-4700-8936-3c86c6545e9f Test case to query VNF Instance cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:20 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/gj87Pd3m9Rm9R2nby2hik3274X9hGmOd', 'Content-Length': '547', 'Set-Cookie': 'session_id=c7ca72d0282f4924c3392e4a1605b939f9867e80; expires=Thu, 28 Mar 2024 06:10:20 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602620.0529196, "expires": 1711606220.0529196, "_id": "gj87Pd3m9Rm9R2nby2hik3274X9hGmOd", "id": "gj87Pd3m9Rm9R2nby2hik3274X9hGmOd", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 9159, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['gj87Pd3m9Rm9R2nby2hik3274X9hGmOd', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = gj87Pd3m9Rm9R2nby2hik3274X9hGmOd ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${vnf_instance_uri}/${Queryid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer gj87Pd3m9Rm9R2nby2hik3274X9hGmOd } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f path_url=/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer gj87Pd3m9Rm9R2nby2hik3274X9hGmOd'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:22 GMT', 'Content-Length': '4067', 'Set-Cookie': 'session_id=e2c350e47e2109ca5659fdfbcd46d0a0f4df9479; expires=Thu, 28 Mar 2024 06:10:22 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "7c96b44a-0755-4700-8936-3c86c6545e9f", "id": "7c96b44a-0755-4700-8936-3c86c6545e9f", "nsr-id-ref": "f0eaa849-2de5-4389-9cef-2ba7849d6b54", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1711602603.41911, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "89680e14-63aa-46ad-aa4e-e9a21b255344", "vim-account-id": "f6a79968-45e5-41a2-9e5c-d2f0b694392a", "vca-id": null, "vdur": [ { "_id": "173efea0-0453-47ae-9a1b-e2cfdf562434", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "f0eaa849-2de5-4389-9cef-2ba7849d6b54", "vdu": { "hackfest_basic_metrics-VM-0": { "count_index": 0, "interfaces": { "vdu-eth0": { "name": "vdu-eth0" } }, "vdu_id": "hackfest_basic_metrics-VM" } }, "vdu_id": "hackfest_basic_metrics-VM", "vim_account_id": "f6a79968-45e5-41a2-9e5c-d2f0b694392a", "vnf_id": "7c96b44a-0755-4700-8936-3c86c6545e9f", "vnfd_id": "89680e14-63aa-46ad-aa4e-e9a21b255344", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "89680e14-63aa-46ad-aa4e-e9a21b255344:file:cloud-config", "count-index": 0, "id": "173efea0-0453-47ae-9a1b-e2cfdf562434", "interfaces": [ { "external-connection-point-ref": "vnf-cp0-ext", "internal-connection-point-ref": "vdu-eth0-int", "mgmt-interface": true, "mgmt-vnf": true, "name": "vdu-eth0", "ns-vld-id": "osm-ext", "type": "PARAVIRT" } ], "internal-connection-point": [ { "connection-point-id": "vdu-eth0-int", "id": "vdu-eth0-int", "name": "vdu-eth0-int" } ], "ip-address": null, "ns-flavor-id": "0", "ns-image-id": "0", "vdu-id-ref": "hackfest_basic_metrics-VM", "vdu-name": "hackfest_basic_metrics-VM", "vim_info": { "vim:f6a79968-45e5-41a2-9e5c-d2f0b694392a": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "509d4e4c-46ab-472d-83c4-58a2f14cd191", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "509d4e4c-46ab-472d-83c4-58a2f14cd191" } ], "connection-point": [ { "name": "vnf-cp0-ext", "connection-point-id": "vdu-eth0-int", "connection-point-vdu-id": "hackfest_basic_metrics-VM", "id": "vnf-cp0-ext" } ], "ip-address": null, "revision": 1, "_admin": { "created": 1711602603.419303, "modified": 1711602603.419303, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "nsState": "INSTANTIATED" } } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} nsState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['INSTANTIATED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = INSTANTIATED ${value} = INSTANTIATED ${value} INSTANTIATED Fails if the given objects are unequal. ${RequestResponse.status_code} 200 Fails if objects are unequal after converting them to strings. Argument types are: <class 'int'> <class 'str'> ${id} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${id} = ['7c96b44a-0755-4700-8936-3c86c6545e9f', '173efea0-0453-47ae-9a1b-e2cfdf562434'] ${Instanceid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Instanceid} = 7c96b44a-0755-4700-8936-3c86c6545e9f Test case to query Vnf instance ID cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:22 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD', 'Content-Length': '545', 'Set-Cookie': 'session_id=05164d8fbf6af87060238916c0379409bdffaa16; expires=Thu, 28 Mar 2024 06:10:22 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602622.253905, "expires": 1711606222.253905, "_id": "h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD", "id": "h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 2230, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${vnf_instance_lcm_ops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:24 GMT', 'Content-Length': '1302', 'Set-Cookie': 'session_id=5628d9e110597ceca2903f3025f7a9517215084c; expires=Thu, 28 Mar 2024 06:10:24 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602605.7208345, "lcmOperationType": "instantiate", "startTime": 1711602605.7208345, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602605.7208886, "modified": 1711602621.4632914, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 2/5: deployment of KDUs, VMs and execution environments. 0/1. VIM: (progress 2/4)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${ID1} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${ID1} = ['270a8595-8f73-4c88-8ae4-2a3b875e821b'] ${lcmops} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmops} = 270a8595-8f73-4c88-8ae4-2a3b875e821b ${Index} 0 15 0 ${vnf_instance_lcm_ops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:24 GMT', 'Content-Length': '1302', 'Set-Cookie': 'session_id=c1e0f67ef8f16eefd5b59792f925282acb801ed0; expires=Thu, 28 Mar 2024 06:10:24 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602605.7208345, "lcmOperationType": "instantiate", "startTime": 1711602605.7208345, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602605.7208886, "modified": 1711602621.4632914, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 2/5: deployment of KDUs, VMs and execution environments. 0/1. VIM: (progress 2/4)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 1 ${vnf_instance_lcm_ops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:34 GMT', 'Content-Length': '1302', 'Set-Cookie': 'session_id=f9b02ea90297a01bfd0b905a4799d348847ebe28; expires=Thu, 28 Mar 2024 06:10:34 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602605.7208345, "lcmOperationType": "instantiate", "startTime": 1711602605.7208345, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602605.7208886, "modified": 1711602621.4632914, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 2/5: deployment of KDUs, VMs and execution environments. 0/1. VIM: (progress 2/4)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 2 ${vnf_instance_lcm_ops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer h3D1Okl28kxuQQaVyPzPvOFzjDtf4NVD'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:44 GMT', 'Content-Length': '1156', 'Set-Cookie': 'session_id=807d2e5b687f16dd16b653099e929e807360675e; expires=Thu, 28 Mar 2024 06:10:44 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602636.5049126, "lcmOperationType": "instantiate", "startTime": 1711602605.7208345, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602605.7208886, "modified": 1711602636.5049136, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } ] /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. Test case to Query VNF LCM operation cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:44 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP', 'Content-Length': '544', 'Set-Cookie': 'session_id=a552730467dd60eca34a2d49f73cb2855c834a3a; expires=Thu, 28 Mar 2024 06:10:44 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602644.63719, "expires": 1711606244.63719, "_id": "rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP", "id": "rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 45549, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${vnf_instance_lcm_ops}/${lcmops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:46 GMT', 'Content-Length': '1028', 'Set-Cookie': 'session_id=9b4833201c298e0c7eb565025d2a25329333fe60; expires=Thu, 28 Mar 2024 06:10:46 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602636.5049126, "lcmOperationType": "instantiate", "startTime": 1711602605.7208345, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602605.7208886, "modified": 1711602636.5049136, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${ID1} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${ID1} = ['270a8595-8f73-4c88-8ae4-2a3b875e821b'] ${lcmopsid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsid} = 270a8595-8f73-4c88-8ae4-2a3b875e821b ${Index} 0 15 0 ${vnf_instance_lcm_ops}/${lcmops} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer rLtU2Ox7NALnwpdyDmpGFKDU3B1Rx0RP'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:46 GMT', 'Content-Length': '1028', 'Set-Cookie': 'session_id=dcb3cacc185bcf1e63613827b3a688c37413c286; expires=Thu, 28 Mar 2024 06:10:46 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "id": "270a8595-8f73-4c88-8ae4-2a3b875e821b", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602636.5049126, "lcmOperationType": "instantiate", "startTime": 1711602605.7208345, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602605.7208886, "modified": 1711602636.5049136, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/270a8595-8f73-4c88-8ae4-2a3b875e821b", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:46 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7', 'Content-Length': '548', 'Set-Cookie': 'session_id=a0b462d32cd714812725964770bc1c4672117ac7; expires=Thu, 28 Mar 2024 06:10:46 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602646.8676183, "expires": 1711606246.8676183, "_id": "Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7", "id": "Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 34554, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7 ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${json_path} To Read Current Direct ory ${Directory} /robot-systest/lib lib resources/ Replaces ``search_for`` in the given ``string`` with ``replace_with``. ${Directory} = /robot-systest/resources/ ${json_path} ${Directory} Returns the given values which can then be assigned to a variables. ${json_path} = /robot-systest/resources/ ${json_path} = /robot-systest/resources/ ${updated_json_obj} ${json_path}/sol003_01-vnf-lifecycle-management.json Load JSON from file. ${updated_json_obj} = {'data': [{'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': '8dc2f11d-e08a-4ec7-920c-6b8a88bff1... ${updated_json_obj} ${updated_json_obj['data'][2]} Returns variable value or ``default`` if the variable does not exist. ${updated_json_obj} = {'type': 'SCALE_OUT', 'aspectId': 'vdu_autoscale', 'numberOfSteps': '1', 'additionalParams': {'member-vnf-index': '1'}} ${updated_json_obj} Makes a variable available everywhere within the scope of the current test. ${updated_json_obj} = {'type': 'SCALE_OUT', 'aspectId': 'vdu_autoscale', 'numberOfSteps': '1', 'additionalParams': {'member-vnf-index': '1'}} ${vnf_instance_uri}/${createid}/scale Keword to Post API Request APISession ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=APISession, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7 } ${request_response} APISession ${PostApi} json=${updated_json_obj} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/scale path_url=/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/scale headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7', 'Content-Length': '119'} body=b'{"type": "SCALE_OUT", "aspectId": "vdu_autoscale", "numberOfSteps": "1", "additionalParams": {"member-vnf-index": "1"}}' POST Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/scale status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:48 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d', 'Content-Length': '53', 'Set-Cookie': 'session_id=b44f73f1a10a238700be81a77b7c83d087485689; expires=Thu, 28 Mar 2024 06:10:48 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [202]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [202]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 202 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 202 ${value} id ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['1dee4cf3-de1f-47b8-9e43-c5564e997d1d'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = 1dee4cf3-de1f-47b8-9e43-c5564e997d1d ${value} = 1dee4cf3-de1f-47b8-9e43-c5564e997d1d ${ID1} ${request_response.json()} $..id Get Value From JSON using JSONPath ${ID1} = ['1dee4cf3-de1f-47b8-9e43-c5564e997d1d'] ${scaleoutid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${scaleoutid} = 1dee4cf3-de1f-47b8-9e43-c5564e997d1d ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:49 GMT', 'Content-Length': '997', 'Set-Cookie': 'session_id=f4afb82e6327d578320febd786349905d24b5b25; expires=Thu, 28 Mar 2024 06:10:49 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "operationState": "PROCESSING", "queuePosition": null, "stage": null, "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602648.9588926, "lcmOperationType": "scale", "startTime": 1711602648.9588926, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602648.9589303, "modified": 1711602648.9589303, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${LcmopsScale} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${LcmopsScale} = ['1dee4cf3-de1f-47b8-9e43-c5564e997d1d'] ${lcmopsscaleid} ${LcmopsScale[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = 1dee4cf3-de1f-47b8-9e43-c5564e997d1d ${Index} 0 15 0 ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:49 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=d89a934eaac74f8e3c0e0ec4e5d4c962dc788972; expires=Thu, 28 Mar 2024 06:10:49 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602648.9588926, "lcmOperationType": "scale", "startTime": 1711602648.9588926, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602648.9589303, "modified": 1711602649.1590445, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 1 ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:10:59 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=20f4decac80c984484a72ce77045f337d250415b; expires=Thu, 28 Mar 2024 06:10:59 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602648.9588926, "lcmOperationType": "scale", "startTime": 1711602648.9588926, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602648.9589303, "modified": 1711602649.1590445, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 2 ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:09 GMT', 'Content-Length': '1040', 'Set-Cookie': 'session_id=daf9607cf0385e0c1ff1313710e46352a77ea955; expires=Thu, 28 Mar 2024 06:11:09 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602648.9588926, "lcmOperationType": "scale", "startTime": 1711602648.9588926, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602648.9589303, "modified": 1711602649.1590445, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 3 ${vnf_instance_lcm_ops}/${scaleoutid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer Hwv6E1HKncoNw2Bo2GibnIM723zRMUg7'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:19 GMT', 'Content-Length': '1021', 'Set-Cookie': 'session_id=1d2dd2e6ba6a797958091dc0753c4d22424b6d9f; expires=Thu, 28 Mar 2024 06:11:19 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "id": "1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602679.2239206, "lcmOperationType": "scale", "startTime": 1711602648.9588926, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602648.9589303, "modified": 1711602679.223922, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/1dee4cf3-de1f-47b8-9e43-c5564e997d1d", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. ${request_response.status_code} in ${success_status_code_list} Scale VNF instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. Test case to Scale out VNF cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:19 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR', 'Content-Length': '546', 'Set-Cookie': 'session_id=9ebde8a17f591910cbeba24ca202395e0b128195; expires=Thu, 28 Mar 2024 06:11:19 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602679.495604, "expires": 1711606279.495604, "_id": "7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR", "id": "7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 54847, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds ${json_path} To Read Current Direct ory ${Directory} /robot-systest/lib lib resources/ Replaces ``search_for`` in the given ``string`` with ``replace_with``. ${Directory} = /robot-systest/resources/ ${json_path} ${Directory} Returns the given values which can then be assigned to a variables. ${json_path} = /robot-systest/resources/ ${json_path} = /robot-systest/resources/ ${updated_json_obj} ${json_path}/sol003_01-vnf-lifecycle-management.json Load JSON from file. ${updated_json_obj} = {'data': [{'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': '8dc2f11d-e08a-4ec7-920c-6b8a88bff1... ${updated_json_obj} ${updated_json_obj['data'][3]} Returns variable value or ``default`` if the variable does not exist. ${updated_json_obj} = {'terminationType': 'GRACEFUL', 'gracefulTerminationTimeout': '5'} ${updated_json_obj} Makes a variable available everywhere within the scope of the current suite. ${updated_json_obj} = {'terminationType': 'GRACEFUL', 'gracefulTerminationTimeout': '5'} ${vnf_instance_uri}/${createid}/terminate Keword to Post API Request APISession ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=APISession, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR } ${request_response} APISession ${PostApi} json=${updated_json_obj} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/terminate path_url=/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/terminate headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR', 'Content-Length': '66'} body=b'{"terminationType": "GRACEFUL", "gracefulTerminationTimeout": "5"}' POST Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f/terminate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:21 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132', 'Content-Length': '53', 'Set-Cookie': 'session_id=4cee93063d8adbc185bf4e42d083ce4b3ef7b745; expires=Thu, 28 Mar 2024 06:11:21 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "93384bdf-ca98-4489-8a95-0e3742986132" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [202]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [202]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 202 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 202 ${id} ${request_response.json()} $..id Get Value From JSON using JSONPath ${id} = ['93384bdf-ca98-4489-8a95-0e3742986132'] ${terminateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${terminateid} = 93384bdf-ca98-4489-8a95-0e3742986132 ${vnf_instance_lcm_ops}/${terminateid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:21 GMT', 'Content-Length': '1088', 'Set-Cookie': 'session_id=411c5203bedb549072b918d2ffcd7b16171c5fa5; expires=Thu, 28 Mar 2024 06:11:21 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "93384bdf-ca98-4489-8a95-0e3742986132", "id": "93384bdf-ca98-4489-8a95-0e3742986132", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602681.5816827, "lcmOperationType": "terminate", "startTime": 1711602681.5816827, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602681.5817282, "modified": 1711602681.65922, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${LcmopsTerminate} ${request_response.json()} $.._id Get Value From JSON using JSONPath ${LcmopsTerminate} = ['93384bdf-ca98-4489-8a95-0e3742986132'] ${lcmopsscaleid} ${LcmopsTerminate[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = 93384bdf-ca98-4489-8a95-0e3742986132 ${Index} 0 15 0 ${vnf_instance_lcm_ops}/${terminateid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:21 GMT', 'Content-Length': '1088', 'Set-Cookie': 'session_id=2033c69cf2ad689b98ecfc7f673106643f7dbfc9; expires=Thu, 28 Mar 2024 06:11:21 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "93384bdf-ca98-4489-8a95-0e3742986132", "id": "93384bdf-ca98-4489-8a95-0e3742986132", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602681.5816827, "lcmOperationType": "terminate", "startTime": 1711602681.5816827, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602681.5817282, "modified": 1711602681.65922, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 1 ${vnf_instance_lcm_ops}/${terminateid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:31 GMT', 'Content-Length': '1088', 'Set-Cookie': 'session_id=6ae856109e4e6374ef7d95e398f913a662d28d5a; expires=Thu, 28 Mar 2024 06:11:31 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "93384bdf-ca98-4489-8a95-0e3742986132", "id": "93384bdf-ca98-4489-8a95-0e3742986132", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602681.5816827, "lcmOperationType": "terminate", "startTime": 1711602681.5816827, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602681.5817282, "modified": 1711602681.65922, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['PROCESSING'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = PROCESSING ${value} = PROCESSING ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. PROCESSING != COMPLETED ${status} = False ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. 10s Pauses the test executed for the given time. Slept 10 seconds 2 ${vnf_instance_lcm_ops}/${terminateid} Keyword to Get API Request Session ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=Session, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${access_token} Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 7q0pWwkJcumjAtOlBVe7x42n5DDnPgsR'} body=None GET Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:41 GMT', 'Content-Length': '1026', 'Set-Cookie': 'session_id=ae475aafab5eabdbe22e09eaf2730cf672b820d0; expires=Thu, 28 Mar 2024 06:11:41 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "93384bdf-ca98-4489-8a95-0e3742986132", "id": "93384bdf-ca98-4489-8a95-0e3742986132", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1711602696.7139692, "lcmOperationType": "terminate", "startTime": 1711602681.5816827, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1711602681.5817282, "modified": 1711602696.7139716, "projects_read": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "projects_write": [ "cb9b4047-c325-4482-bfb0-0566c86b4c50" ], "worker": "kubepods-bes" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/93384bdf-ca98-4489-8a95-0e3742986132", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f" }, "vnfInstanceId": "7c96b44a-0755-4700-8936-3c86c6545e9f" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${request_response} = <Response [200]> ${request_response} Makes a variable available everywhere within the scope of the current suite. ${request_response} = <Response [200]> ${response_statuscode} ${request_response.status_code} Converts the given item to a Unicode string. ${response_statuscode} = 200 ${response_statuscode} Makes a variable available everywhere within the scope of the current suite. ${response_statuscode} = 200 ${value} operationState ${request_response.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${id} ${request_response.json()} $..${Key} Get Value From JSON using JSONPath ${id} = ['COMPLETED'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = COMPLETED ${value} = COMPLETED ${status} Should Be Equal ${value} COMPLETED Runs the given keyword with given arguments and returns the status as a Boolean value. ${value} COMPLETED Fails if the given objects are unequal. ${status} = True ${status} Exit For Loop ELSE Sleep 10s Runs the given keyword with the given arguments, if ``condition`` is true. Stops executing the enclosing FOR loop. Exiting for loop altogether. ${request_response.status_code} in ${success_status_code_list} Terminate VNF instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. Test case to terminate the VNF cluster_sol003 daily sol003_01 auth_token Keyword to get the default osm Hostname ${nbi_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${nbi_host} = 172.21.249.182 ${passed} Should Contain ${nbi_host} : Runs the given keyword with given arguments and returns the status as a Boolean value. ${nbi_host} : Fails if ``container`` does not contain ``item`` one or more times. '172.21.249.182' does not contain ':' ${passed} = False ${passed} Set Dockerized Host ${nbi_host} ELSE Set Standalone Host ${nbi_host} Runs the given keyword with the given arguments, if ``condition`` is true. ${nbi_host} ${HOST} https://${env_host}:9999 Makes a variable available everywhere within the scope of the current suite. ${HOST} = https://172.21.249.182:9999 osmhit ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{headers} Content-Type=application/json Accept=application/json Creates and returns a dictionary based on the given ``items``. &{headers} = { Content-Type=application/json | Accept=application/json } &{data} username=${osm_user} password=${osm_password} project-id=${osm_project} Creates and returns a dictionary based on the given ``items``. &{data} = { username=admin | password=admin | project-id=admin } ${resp} osmhit ${auth_token_uri} json=${data} headers=${headers} Sends a POST request on a previously created HTTP Session. POST Request : url=https://172.21.249.182:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Content-Length': '65'} body=b'{"username": "admin", "password": "admin", "project-id": "admin"}' POST Response : url=https://172.21.249.182:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:42 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/AgJBz7a0GyOzkJczY2oPntHcf7KVF8FI', 'Content-Length': '548', 'Set-Cookie': 'session_id=f99293e5e9889431a6830b85a53f7c928f44e26b; expires=Thu, 28 Mar 2024 06:11:42 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1711602702.0659554, "expires": 1711606302.0659554, "_id": "AgJBz7a0GyOzkJczY2oPntHcf7KVF8FI", "id": "AgJBz7a0GyOzkJczY2oPntHcf7KVF8FI", "project_id": "cb9b4047-c325-4482-bfb0-0566c86b4c50", "project_name": "admin", "username": "admin", "user_id": "9b0226c0-4d5c-4f6a-b02b-cb06a2413310", "admin": true, "roles": [ { "name": "system_admin", "id": "9146aca6-fbfd-434d-9ae5-cfc8973f7b75" } ], "remote_port": 28826, "remote_host": "10.244.0.1" } /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [200]> ${resp} Logs the given message with the given level. <Response [200]> ${resp.status_code} in ${success_status_code_list} Get Auth Token completed Conditionally skips rest of the current test, setup, or teardown with PASS status. ${token_status_code} ${resp.status_code} Makes a variable available everywhere within the scope of the current suite. ${token_status_code} = 200 ${access_token} ${resp.json()} $..id Get Value From JSON using JSONPath ${access_token} = ['AgJBz7a0GyOzkJczY2oPntHcf7KVF8FI', '9146aca6-fbfd-434d-9ae5-cfc8973f7b75'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = AgJBz7a0GyOzkJczY2oPntHcf7KVF8FI ${token_response} ${resp} Makes a variable available everywhere within the scope of the current test. ${token_response} = <Response [200]> 2s Pauses the test executed for the given time. Slept 2 seconds APISession ${HOST} Create Session: create a HTTP session to a server Creating Session using : alias=APISession, url=https://172.21.249.182:9999, headers={}, cookies={}, auth=None, timeout=None, proxies=None, verify=False, debug=0 &{Headers} Content-Type=application/json Accept=application/json Authorization=Bearer ${AccessToken} Creates and returns a dictionary based on the given ``items``. &{Headers} = { Content-Type=application/json | Accept=application/json | Authorization=Bearer AgJBz7a0GyOzkJczY2oPntHcf7KVF8FI } ${resp} APISession ${vnf_instance_uri}/${createid} headers=${Headers} Sends a DELETE request on a previously created HTTP Session. DELETE Request : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f path_url=/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f headers={'User-Agent': 'python-requests/2.28.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer AgJBz7a0GyOzkJczY2oPntHcf7KVF8FI', 'Content-Length': '0'} body=None DELETE Response : url=https://172.21.249.182:9999/osm/vnflcm/v1/vnf_instances/7c96b44a-0755-4700-8936-3c86c6545e9f status=204, reason=No Content headers={'Content-Type': 'text/html;charset=utf-8', 'Server': 'CherryPy/18.6.1', 'Date': 'Thu, 28 Mar 2024 05:11:44 GMT', 'Set-Cookie': 'session_id=930cbb45a7efde1ad2f22757777fe2bf1905b223; expires=Thu, 28 Mar 2024 06:11:44 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=None /usr/local/lib/python3.8/dist-packages/urllib3/connectionpool.py:1043: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.21.249.182'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn( ${resp} = <Response [204]> ${resp.status_code} in ${success_status_code_list} Delete VNF Instance completed Conditionally skips rest of the current test, setup, or teardown with PASS status. Test case to delete VNF cluster_sol003 daily sol003_01 ${vnfd_name} ${rc} ${stdout} osm vnfpkg-delete ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-delete hackfest_basic_metrics-vnf 2>&1'. ${rc} = 0 ${stdout} = Deleted ${stdout} Logs the given message with the given level. Deleted ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${delete_max_wait_time} ${delete_pol_time} Check For VNFD ${vnfd_id} Runs the specified keyword and retries if it fails. ${vnfd_id} ${rc} ${stdout} osm vnfpkg-list | awk '{print $2}' | grep ${vnfd_id} Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list | awk '{print $2}' | grep hackfest_basic_metrics-vnf 2>&1'. ${rc} = 1 ${stdout} = ${exists} Should Be Equal As Strings ${stdout} ${vnfd_id} ELSE Should Not Be Equal As Strings ${stdout} ${vnfd_id} Runs the given keyword with the given arguments, if ``condition`` is true. ${stdout} ${vnfd_id} Fails if objects are equal after converting them to strings. cleanup cluster_sol003 daily sol003_01 Suite Cleanup Runs the given keyword with the given arguments and ignores possible error. Test Suit Cleanup: Deleting Descriptor Delete VNFD ${vnfd_name} Runs the given keyword with the given arguments, if one or more tests failed. [SOL003-01] Sol003 Api testing All Tests basic_01 basic_05 basic_06 basic_07 basic_08 basic_09 basic_11 basic_12 basic_13 basic_14 basic_15 basic_16 basic_17 basic_18 basic_19 basic_20 basic_21 basic_22 basic_23 basic_24 basic_25 cleanup cluster_ee_config cluster_epa cluster_heal cluster_k8s cluster_k8s_charms cluster_main cluster_relations cluster_sa cluster_slices cluster_sol003 daily epa_01 epa_02 epa_03 epa_04 fail_01 hackfest_basic hackfest_cloudinit hackfest_multivdu heal_01 heal_02 heal_03 heal_04 k8s_02 k8s_03 k8s_04 k8s_05 k8s_06 k8s_07 k8s_08 k8s_09 k8s_10 k8s_12 prepare quotas_01 regression sa_01 sa_02 sa_07 sa_08 sanity slice_01 slice_02 sol003_01 verify Testsuite Testsuite.Basic 01-Crud Operations On Vim Targets Testsuite.Basic 05-Instantiation Parameters In Cloud Init Testsuite.Basic 06-Vnf With Charm Testsuite.Basic 07-Secure Key Management Testsuite.Basic 08-Disable Port Security Network Level Testsuite.Basic 09-Manual Vdu Scaling Testsuite.Basic 11-Native Charms Testsuite.Basic 12-Ns Primitives Testsuite.Basic 13-Ns Relations Testsuite.Basic 14-Vnf Relations Testsuite.Basic 15-Rbac Configurations Testsuite.Basic 16-Advanced Onboarding And Scaling Testsuite.Basic 17-Delete Vnf Package Testsuite.Basic 18-Ns Ip Profile Testsuite.Basic 19-Vnf Ip Profile Testsuite.Basic 20-Manual Native Charm Vdu Scaling Testsuite.Basic 21-Support Of Volumes Testsuite.Basic 22-Cross Model Relations Testsuite.Basic 23-Sol004 Sol007 Packages Testsuite.Basic 24-Affinity Groups Testsuite.Basic 25-Update Charm In Running Vnf Instance Testsuite.Epa 01-Epa Sriov Testsuite.Epa 02-Additional Capabilities Testsuite.Epa 03-Crud Operations On Sdnc Testsuite.Epa 04-Epa Underlay Sriov Testsuite.Fail 01-Insufficient Resources Testsuite.Hackfest Basic Testsuite.Hackfest Cloudinit Testsuite.Hackfest Multivdu Testsuite.Heal 01-Volume Vdu Healing Testsuite.Heal 02-Scale Vdu Healing Testsuite.Heal 03-Multiple Healing Testsuite.Heal 04-Autohealing Testsuite.K8S 02-K8Scluster Creation Testsuite.K8S 03-Simple K8S Testsuite.K8S 04-Openldap Helm Testsuite.K8S 05-K8S Proxy Charms Testsuite.K8S 06-K8S Secure Key Management Testsuite.K8S 07-Dummy Helm Testsuite.K8S 08-Simple K8S Scaling Testsuite.K8S 09-Pebble Charm K8S Testsuite.K8S 10-Sol004 Sol007 With K8S Proxy Charms Testsuite.K8S 12-Openldap Helm Day-2 Testsuite.Quotas 01-Quota Enforcement Testsuite.Sa 01-Vnf With Vim Metrics Testsuite.Sa 02-Vnf With Vim Metrics And Autoscaling Testsuite.Sa 07-Alarms From Sa-Related Vnfs Testsuite.Sa 08-Vnf With Vnf Indicators Snmp Testsuite.Slice 01-Network Slicing Testsuite.Slice 02-Shared Network Slicing Testsuite.Sol003 01-Vnf-Lifecycle-Management