Suite Preparation Runs the given keyword with the given arguments and ignores possible error. Test Suite Preparation: Setting Prometheus Testsuite Variables Set Testsuite Prometheus Variables to be used in subsequent test cases ${local_prometheus_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${prometheus_host} ${local_prometheus_host} Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} 9091 Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} Logs the given message with the given level. 9091 ${prometheus_host} Logs the given message with the given level. 172.21.249.13 ${prometheus_user} Logs the given message with the given level. "" ${prometheus_password} Logs the given message with the given level. "" '${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} = 858130 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_858130 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_858130 ${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_858130 --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_858130 --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} = b5950254-597f-4b23-be38-792423b6447d ${stdout} Logs the given message with the given level. b5950254-597f-4b23-be38-792423b6447d ${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} = b5950254-597f-4b23-be38-792423b6447d ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = b5950254-597f-4b23-be38-792423b6447d ${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_858130 " | 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_858130 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = b5950254-597f-4b23-be38-792423b6447d ${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} = b5950254-597f-4b23-be38-792423b6447d ${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=b5950254-597f-4b23-be38-792423b6447d ${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=b5950254-597f-4b23-be38-792423b6447d ${param_name} = vim_account_id ${param_value} = b5950254-597f-4b23-be38-792423b6447d ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="b5950254-597f-4b23-be38-792423b6447d", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9843b19600>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 22:49:39 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=b5950254-597f-4b23-be38-792423b6447d ${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=b5950254-597f-4b23-be38-792423b6447d ${param_name} = vim_account_id ${param_value} = b5950254-597f-4b23-be38-792423b6447d ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="b5950254-597f-4b23-be38-792423b6447d", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9843b0ac80>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 22:49: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_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=b5950254-597f-4b23-be38-792423b6447d ${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=b5950254-597f-4b23-be38-792423b6447d ${param_name} = vim_account_id ${param_value} = b5950254-597f-4b23-be38-792423b6447d ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="b5950254-597f-4b23-be38-792423b6447d", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9843b096f0>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 22:50:09 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=b5950254-597f-4b23-be38-792423b6447d ${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=b5950254-597f-4b23-be38-792423b6447d ${param_name} = vim_account_id ${param_value} = b5950254-597f-4b23-be38-792423b6447d ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="b5950254-597f-4b23-be38-792423b6447d", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f98439b0d60>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22b5950254-597f-4b23-be38-792423b6447d%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 22:50:24 GMT', 'Content-Length': '196'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","job":"airflow_osm_vim_status_b5950254-597f-4b23-be38-792423b6447d","vim_account_id":"b5950254-597f-4b23-be38-792423b6447d"},"value":[1713221424.195,"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', 'job': 'airflow_osm_vim_status_b5950254-597f-4b23-be38-792423b6447d', 'vim_account_id': 'b59... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'job': 'airflow_osm_vim_status_b5950254-597f-4b23-be38-792423b6447d', 'vim_account_id': 'b5950254-597f-4b23-be38-792423b6447d'}, 'value': [1713221424.195, '1... ${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_858130 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = b5950254-597f-4b23-be38-792423b6447d ${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} = b5950254-597f-4b23-be38-792423b6447d ${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_858130 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_858130 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} = 533196 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_533196 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_533196 ${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_533196 --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_533196 --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_533196 --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} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${stdout} Logs the given message with the given level. cab986ce-c596-4d6e-9968-e58ac01ba925 ${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} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${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_533196 " | 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_533196 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${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} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${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=cab986ce-c596-4d6e-9968-e58ac01ba925 ${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=cab986ce-c596-4d6e-9968-e58ac01ba925 ${param_name} = vim_account_id ${param_value} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="cab986ce-c596-4d6e-9968-e58ac01ba925", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f98439b00d0>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22cab986ce-c596-4d6e-9968-e58ac01ba925%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22cab986ce-c596-4d6e-9968-e58ac01ba925%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22cab986ce-c596-4d6e-9968-e58ac01ba925%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 22:50:32 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=cab986ce-c596-4d6e-9968-e58ac01ba925 ${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=cab986ce-c596-4d6e-9968-e58ac01ba925 ${param_name} = vim_account_id ${param_value} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="cab986ce-c596-4d6e-9968-e58ac01ba925", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f98439c8580>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22cab986ce-c596-4d6e-9968-e58ac01ba925%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22cab986ce-c596-4d6e-9968-e58ac01ba925%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%22cab986ce-c596-4d6e-9968-e58ac01ba925%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 22:50:47 GMT', 'Content-Length': '194'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","job":"airflow_osm_vim_status_cab986ce-c596-4d6e-9968-e58ac01ba925","vim_account_id":"cab986ce-c596-4d6e-9968-e58ac01ba925"},"value":[1713221447.751,"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', 'job': 'airflow_osm_vim_status_cab986ce-c596-4d6e-9968-e58ac01ba925', 'vim_account_id': 'cab... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'job': 'airflow_osm_vim_status_cab986ce-c596-4d6e-9968-e58ac01ba925', 'vim_account_id': 'cab986ce-c596-4d6e-9968-e58ac01ba925'}, 'value': [1713221447.751, '1... ${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_533196 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${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} = cab986ce-c596-4d6e-9968-e58ac01ba925 ${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 cab986ce-c596-4d6e-9968-e58ac01ba925 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 cab986ce-c596-4d6e-9968-e58ac01ba925 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 bd06fdfc-9261-4315-9c43-23d5f153be2a ${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} = bd06fdfc-9261-4315-9c43-23d5f153be2a 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 19c4a9a4-722b-4216-b7b8-24ce11b1cec0 ${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} = 19c4a9a4-722b-4216-b7b8-24ce11b1cec0 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} = 14e2cd9c-7aa9-4623-9358-39bf2852a616 ${stdout} Logs the given message with the given level. 14e2cd9c-7aa9-4623-9358-39bf2852a616 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 14e2cd9c-7aa9-4623-9358-39bf2852a616 ${ns_id} Logs the given message with the given level. 14e2cd9c-7aa9-4623-9358-39bf2852a616 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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 | 14e2cd9c-7aa9-4623-9358-39bf2852a616 | 2024-04-15T22:50:56 | BUILDING | INSTANTIATING (dbe4fba9-3870-49bc-b8e4-e227762b362e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 14e2cd9c-7aa9-4623-9358-39bf2852a616 | 2024-04-15T22:50:56 | BUILDING | INSTANTIATING (dbe4fba9-3870-49bc-b8e4-e227762b362e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 7d3024bb-5499-4fb5-84c6-f890117ee20d | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.156 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${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 | 14e2cd9c-7aa9-4623-9358-39bf2852a616 | 2024-04-15T22:50:56 | BUILDING | INSTANTIATING (dbe4fba9-3870-49bc-b8e4-e227762b362e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 14e2cd9c-7aa9-4623-9358-39bf2852a616 | 2024-04-15T22:50:56 | BUILDING | INSTANTIATING (dbe4fba9-3870-49bc-b8e4-e227762b362e) | N/A | +------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 7d3024bb-5499-4fb5-84c6-f890117ee20d | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.156 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${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 | 14e2cd9c-7aa9-4623-9358-39bf2852a616 | 2024-04-15T22:50:56 | 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 7d3024bb-5499-4fb5-84c6-f890117ee20d | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.156 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${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 | 14e2cd9c-7aa9-4623-9358-39bf2852a616 | 2024-04-15T22:50:56 | 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} = 14e2cd9c-7aa9-4623-9358-39bf2852a616 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 14e2cd9c-7aa9-4623-9358-39bf2852a616 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 14e2cd9c-7aa9-4623-9358-39bf2852a616 | 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} = 172.21.248.156 ${ip_addr} Logs the given message with the given level. 172.21.248.156 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.156 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.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 Mon Apr 15 22:52:40 UTC 2024 System load: 0.16 Processes: 97 Usage of /: 11.5% of 9.52GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.248.156 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 89977e7d-4ae7-4b91-8e7e-b521c56dfb8c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 7d3024bb-5499-4fb5-84c6-f890117ee20d | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.156 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 89977e7d-4ae7-4b91-8e7e-b521c56dfb8c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${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 04d9200e-7ac6-4560-888a-0e677cbde38c ${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} = 04d9200e-7ac6-4560-888a-0e677cbde38c 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 61ad39c1-dfdf-4e57-9fbe-4b7eee955716 ${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} = 61ad39c1-dfdf-4e57-9fbe-4b7eee955716 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} = 153dc82e-270c-43b6-96c0-95e987b68917 ${stdout} Logs the given message with the given level. 153dc82e-270c-43b6-96c0-95e987b68917 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 153dc82e-270c-43b6-96c0-95e987b68917 ${ns_id} Logs the given message with the given level. 153dc82e-270c-43b6-96c0-95e987b68917 ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ | 89977e7d-4ae7-4b91-8e7e-b521c56dfb8c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------+ ${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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------+ | 8c02c6b5-3238-432a-888c-8a885e10435c | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.251; osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 4f3040b9-9d08-43d7-afca-f07b64733c11 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.66; osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 89977e7d-4ae7-4b91-8e7e-b521c56dfb8c | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.139 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------+ ${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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 8c02c6b5-3238-432a-888c-8a885e10435c | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.251; osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 4f3040b9-9d08-43d7-afca-f07b64733c11 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.66; osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 8c02c6b5-3238-432a-888c-8a885e10435c | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.251; osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 4f3040b9-9d08-43d7-afca-f07b64733c11 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.66; osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53:14 | BUILDING | INSTANTIATING (861ccf7f-d77a-4cf7-a073-acc3e59bb075) | N/A | +---------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 8c02c6b5-3238-432a-888c-8a885e10435c | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.251; osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 4f3040b9-9d08-43d7-afca-f07b64733c11 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.66; osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53: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} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 8c02c6b5-3238-432a-888c-8a885e10435c | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.251; osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 4f3040b9-9d08-43d7-afca-f07b64733c11 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.66; osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 153dc82e-270c-43b6-96c0-95e987b68917 | 2024-04-15T22:53: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} = 153dc82e-270c-43b6-96c0-95e987b68917 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 153dc82e-270c-43b6-96c0-95e987b68917 ${model_name} ${id} Makes a variable available everywhere within the scope of the current suite. ${model_name} = 153dc82e-270c-43b6-96c0-95e987b68917 basic_06 cluster_ee_config daily regression ${vnf_charm_app_name} %{OSM_HOSTNAME} ${username} ${password} %{OSM_RSA_FILE} ${model_name} ${vnf_profile_id} ${ee_name} ${model_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.13 ${stdout} ${host} ${username} ${password} ${privatekey} juju status -m ${model_name} | grep "\\-vnf" | grep -v "*" | grep -i ${vnf_profile_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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Mon Apr 15 22:31:45 UTC 2024 System load: 0.955078125 Processes: 129 Usage of /: 1.2% of 116.12GB Users logged in: 0 Memory usage: 1% IPv4 address for ens3: 172.21.249.13 Swap usage: 0% 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Mon Apr 15 22:48:37 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'juju status -m 153dc82e-270c-43b6-96c0-95e987b68917 | grep "\-vnf" | grep -v "*" | grep -i vnf1 | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = simple-ee-z0-vnf1-vnf ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. simple-ee-z0-vnf1-vnf Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = simple-ee-z0-vnf1-vnf ${stdout} Logs the given message with the given level. simple-ee-z0-vnf1-vnf ${stdout} Verifies that the given item is not empty. Length is 21 ${stdout} ${ee_name} Fails if ``container`` does not contain ``item`` one or more times. ${vnf_charm_app_name} = simple-ee-z0-vnf1-vnf ${length} ${vnf_charm_app_name} Returns and logs the length of the given item as an integer. Length is 21 ${length} = 21 ${length} <50 Fails if the given condition is not true. 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 153dc82e-270c-43b6-96c0-95e987b68917 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.63 ${stdout} Logs the given message with the given level. 172.21.249.63 ${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.63 ${ip_addr_1} Logs the given message with the given level. 172.21.249.63 ${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.63 ${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 153dc82e-270c-43b6-96c0-95e987b68917 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.64 ${stdout} Logs the given message with the given level. 172.21.249.64 ${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.64 ${ip_addr_2} Logs the given message with the given level. 172.21.249.64 ${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.64 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.63: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 Mon Apr 15 22:56:07 UTC 2024 System load: 0.13 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.63 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.249.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 Mon Apr 15 22:56:09 UTC 2024 System load: 0.09 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.64 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.63: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 Mon Apr 15 22:56:10 UTC 2024 System load: 0.12 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.63 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: Mon Apr 15 22:56:08 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.249.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 Mon Apr 15 22:56:12 UTC 2024 System load: 0.09 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.64 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: Mon Apr 15 22:56: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/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} = edbd1932-2565-47b7-b809-5b0369045e0f ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show edbd1932-2565-47b7-b809-5b0369045e0f --literal | yq -r .operationState 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 edbd1932-2565-47b7-b809-5b0369045e0f ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show edbd1932-2565-47b7-b809-5b0369045e0f --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show edbd1932-2565-47b7-b809-5b0369045e0f --literal | yq -r .operationState 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} = edbd1932-2565-47b7-b809-5b0369045e0f ${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} = f575eb1b-a54b-44d0-8e52-5979b8d3b5b7 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f575eb1b-a54b-44d0-8e52-5979b8d3b5b7 --literal | yq -r .operationState 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 f575eb1b-a54b-44d0-8e52-5979b8d3b5b7 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f575eb1b-a54b-44d0-8e52-5979b8d3b5b7 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f575eb1b-a54b-44d0-8e52-5979b8d3b5b7 --literal | yq -r .operationState 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} = f575eb1b-a54b-44d0-8e52-5979b8d3b5b7 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.63: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 Mon Apr 15 22:56:54 UTC 2024 System load: 0.14 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.63 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: Mon Apr 15 22:56:11 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.249.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 Mon Apr 15 22:56:55 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.64 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: Mon Apr 15 22:56:13 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} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 8c02c6b5-3238-432a-888c-8a885e10435c | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.251; osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 4f3040b9-9d08-43d7-afca-f07b64733c11 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.123.66; osm-ext=172.21.249.63 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 62222094-de99-4328-b77f-41a3ccfb8844 ${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} = 62222094-de99-4328-b77f-41a3ccfb8844 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 3ff62f8e-3636-42da-b03f-8bbb90206c61 ${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} = 3ff62f8e-3636-42da-b03f-8bbb90206c61 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} = 778c134c-cd2e-4392-9853-7b56e5c6abc3 ${stdout} Logs the given message with the given level. 778c134c-cd2e-4392-9853-7b56e5c6abc3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 778c134c-cd2e-4392-9853-7b56e5c6abc3 ${ns_id} Logs the given message with the given level. 778c134c-cd2e-4392-9853-7b56e5c6abc3 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 03c2b232-8b60-49be-ac15-6b0efd49ca6a | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.94; osm-ext=172.21.249.41 | ubuntu18.04 | simple_requires-1-1-flv | | 5e7eab66-12ba-44b7-8d2e-a6b8de1c44da | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.60; osm-ext=172.21.248.64 | ubuntu18.04 | simple_requires-1-1-flv | | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.130; osm-ext=172.21.248.119 | ubuntu18.04 | simple_requires-1-1-flv | | 29344154-b3c5-434b-b619-6af72c2b99f9 | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.221.44; osm-ext=172.21.248.90 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 03c2b232-8b60-49be-ac15-6b0efd49ca6a | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.94; osm-ext=172.21.249.41 | ubuntu18.04 | simple_requires-1-1-flv | | 5e7eab66-12ba-44b7-8d2e-a6b8de1c44da | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.60; osm-ext=172.21.248.64 | ubuntu18.04 | simple_requires-1-1-flv | | 9aa60c31-5c4f-4a02-9205-ec2b710d6ecf | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 03c2b232-8b60-49be-ac15-6b0efd49ca6a | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.94; osm-ext=172.21.249.41 | ubuntu18.04 | simple_requires-1-1-flv | | 5e7eab66-12ba-44b7-8d2e-a6b8de1c44da | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.60; osm-ext=172.21.248.64 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | BUILDING | INSTANTIATING (e822c968-cd33-46ec-b9ed-4c00ac970709) | N/A | +--------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 03c2b232-8b60-49be-ac15-6b0efd49ca6a | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.94; osm-ext=172.21.249.41 | ubuntu18.04 | simple_requires-1-1-flv | | 5e7eab66-12ba-44b7-8d2e-a6b8de1c44da | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.60; osm-ext=172.21.248.64 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | 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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 03c2b232-8b60-49be-ac15-6b0efd49ca6a | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.94; osm-ext=172.21.249.41 | ubuntu18.04 | simple_requires-1-1-flv | | 5e7eab66-12ba-44b7-8d2e-a6b8de1c44da | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.60; osm-ext=172.21.248.64 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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 | 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 2024-04-15T22:57:47 | 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} = 778c134c-cd2e-4392-9853-7b56e5c6abc3 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} = 778c134c-cd2e-4392-9853-7b56e5c6abc3 ${stdout} Logs the given message with the given level. 778c134c-cd2e-4392-9853-7b56e5c6abc3 ${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} = 778c134c-cd2e-4392-9853-7b56e5c6abc3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 778c134c-cd2e-4392-9853-7b56e5c6abc3 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 778c134c-cd2e-4392-9853-7b56e5c6abc3 | 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'> ${ip_addr} = 172.21.248.64 ${ip_addr} Logs the given message with the given level. 172.21.248.64 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.64 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.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 Mon Apr 15 23:00:38 UTC 2024 System load: 0.06 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.64 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.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 Mon Apr 15 23:00:40 UTC 2024 System load: 0.06 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.64 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: Mon Apr 15 23:00: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@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} = 09d3c7cc-7972-4a15-825d-f1a9ebe5ceb8 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 09d3c7cc-7972-4a15-825d-f1a9ebe5ceb8 --literal | yq -r .operationState 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 09d3c7cc-7972-4a15-825d-f1a9ebe5ceb8 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 09d3c7cc-7972-4a15-825d-f1a9ebe5ceb8 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 09d3c7cc-7972-4a15-825d-f1a9ebe5ceb8 --literal | yq -r .operationState 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} = 09d3c7cc-7972-4a15-825d-f1a9ebe5ceb8 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.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 Mon Apr 15 23:01:01 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.248.64 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: Mon Apr 15 23:00: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@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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 03c2b232-8b60-49be-ac15-6b0efd49ca6a | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.94; osm-ext=172.21.249.41 | ubuntu18.04 | simple_requires-1-1-flv | | 5e7eab66-12ba-44b7-8d2e-a6b8de1c44da | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.161.60; osm-ext=172.21.248.64 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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. Suite Preparation Runs the given keyword with the given arguments and ignores possible error. Test Suite Preparation: Setting Prometheus Testsuite Variables Set Testsuite Prometheus Variables to be used in subsequent test cases ${local_prometheus_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${prometheus_host} ${local_prometheus_host} Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} 9091 Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} Logs the given message with the given level. 9091 ${prometheus_host} Logs the given message with the given level. 172.21.249.13 ${prometheus_user} Logs the given message with the given level. "" ${prometheus_password} Logs the given message with the given level. "" ${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} = 36d9d404-7d30-4893-aa65-974532f19e11 ${stdout} Logs the given message with the given level. 36d9d404-7d30-4893-aa65-974532f19e11 ${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} = 36d9d404-7d30-4893-aa65-974532f19e11 ${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} = 36d9d404-7d30-4893-aa65-974532f19e11 ${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} = 36d9d404-7d30-4893-aa65-974532f19e11 ${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=36d9d404-7d30-4893-aa65-974532f19e11 ${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=36d9d404-7d30-4893-aa65-974532f19e11 ${param_name} = vim_account_id ${param_value} = 36d9d404-7d30-4893-aa65-974532f19e11 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="36d9d404-7d30-4893-aa65-974532f19e11", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f984291acb0>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 23:01:33 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=36d9d404-7d30-4893-aa65-974532f19e11 ${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=36d9d404-7d30-4893-aa65-974532f19e11 ${param_name} = vim_account_id ${param_value} = 36d9d404-7d30-4893-aa65-974532f19e11 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="36d9d404-7d30-4893-aa65-974532f19e11", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9842922770>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 23:01:48 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=36d9d404-7d30-4893-aa65-974532f19e11 ${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=36d9d404-7d30-4893-aa65-974532f19e11 ${param_name} = vim_account_id ${param_value} = 36d9d404-7d30-4893-aa65-974532f19e11 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="36d9d404-7d30-4893-aa65-974532f19e11", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9842905930>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 23:02:03 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=36d9d404-7d30-4893-aa65-974532f19e11 ${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=36d9d404-7d30-4893-aa65-974532f19e11 ${param_name} = vim_account_id ${param_value} = 36d9d404-7d30-4893-aa65-974532f19e11 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = vim_account_id="36d9d404-7d30-4893-aa65-974532f19e11", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f98429a2020>, 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.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D path_url=/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_vim_status%7Bvim_account_id=%2236d9d404-7d30-4893-aa65-974532f19e11%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Mon, 15 Apr 2024 23:02:18 GMT', 'Content-Length': '196'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_vim_status","job":"airflow_osm_vim_status_36d9d404-7d30-4893-aa65-974532f19e11","vim_account_id":"36d9d404-7d30-4893-aa65-974532f19e11"},"value":[1713222138.799,"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', 'job': 'airflow_osm_vim_status_36d9d404-7d30-4893-aa65-974532f19e11', 'vim_account_id': '36d... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_vim_status', 'job': 'airflow_osm_vim_status_36d9d404-7d30-4893-aa65-974532f19e11', 'vim_account_id': '36d9d404-7d30-4893-aa65-974532f19e11'}, 'value': [1713222138.799, '1... ${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 654cfda5-c108-44cd-bace-31103dc2f375 ${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} = 654cfda5-c108-44cd-bace-31103dc2f375 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 af3a3469-0ac5-476c-b82c-3761783e6e3f ${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} = af3a3469-0ac5-476c-b82c-3761783e6e3f 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} = 04a85329-2078-4336-bed1-4fae5bb0ede4 ${stdout} Logs the given message with the given level. 04a85329-2078-4336-bed1-4fae5bb0ede4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 04a85329-2078-4336-bed1-4fae5bb0ede4 ${ns_id} Logs the given message with the given level. 04a85329-2078-4336-bed1-4fae5bb0ede4 ${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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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 | 04a85329-2078-4336-bed1-4fae5bb0ede4 | 2024-04-15T23:02:23 | BUILDING | INSTANTIATING (63fe5a77-ed84-464b-9f92-bf0e50134b4f) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 04a85329-2078-4336-bed1-4fae5bb0ede4 | 2024-04-15T23:02:23 | BUILDING | INSTANTIATING (63fe5a77-ed84-464b-9f92-bf0e50134b4f) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ | a3263d22-1c3d-466b-8cbe-220eb06bc75e | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 4edc4579-3fc2-45da-8032-56c19a7a8a62 | basic_08_disable-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 02ce3de2-70cd-40a8-9592-21aee0b30638 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.183.240; osm-ext=172.21.249.188 | ubuntu20.04 | simple_requires-1-1-flv | | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------+-------------+-------------------------+ ${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 | 04a85329-2078-4336-bed1-4fae5bb0ede4 | 2024-04-15T23:02:23 | BUILDING | INSTANTIATING (63fe5a77-ed84-464b-9f92-bf0e50134b4f) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 04a85329-2078-4336-bed1-4fae5bb0ede4 | 2024-04-15T23:02:23 | BUILDING | INSTANTIATING (63fe5a77-ed84-464b-9f92-bf0e50134b4f) | N/A | +---------------------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | de9a966b-b5e0-4ed1-9b1b-9cb76d60cd80 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.7; basic_08_disable-internal=192.168.10.206 | ubuntu20.04 | simple_requires-1-1-flv | | a3263d22-1c3d-466b-8cbe-220eb06bc75e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.10.77; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | 4edc4579-3fc2-45da-8032-56c19a7a8a62 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.175; basic_08_disable-internal=192.168.183.195 | ubuntu20.04 | simple_requires-1-1-flv | | 02ce3de2-70cd-40a8-9592-21aee0b30638 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.183.240; osm-ext=172.21.249.188 | ubuntu20.04 | simple_requires-1-1-flv | | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 04a85329-2078-4336-bed1-4fae5bb0ede4 | 2024-04-15T23:02:23 | 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 | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | de9a966b-b5e0-4ed1-9b1b-9cb76d60cd80 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.7; basic_08_disable-internal=192.168.10.206 | ubuntu20.04 | simple_requires-1-1-flv | | a3263d22-1c3d-466b-8cbe-220eb06bc75e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.10.77; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | 4edc4579-3fc2-45da-8032-56c19a7a8a62 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.175; basic_08_disable-internal=192.168.183.195 | ubuntu20.04 | simple_requires-1-1-flv | | 02ce3de2-70cd-40a8-9592-21aee0b30638 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.183.240; osm-ext=172.21.249.188 | ubuntu20.04 | simple_requires-1-1-flv | | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 04a85329-2078-4336-bed1-4fae5bb0ede4 | 2024-04-15T23:02:23 | 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} = 04a85329-2078-4336-bed1-4fae5bb0ede4 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 04a85329-2078-4336-bed1-4fae5bb0ede4 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 | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | de9a966b-b5e0-4ed1-9b1b-9cb76d60cd80 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.7; basic_08_disable-internal=192.168.10.206 | ubuntu20.04 | simple_requires-1-1-flv | | a3263d22-1c3d-466b-8cbe-220eb06bc75e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.10.77; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | 4edc4579-3fc2-45da-8032-56c19a7a8a62 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.110.175; basic_08_disable-internal=192.168.183.195 | ubuntu20.04 | simple_requires-1-1-flv | | 02ce3de2-70cd-40a8-9592-21aee0b30638 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.183.240; osm-ext=172.21.249.188 | ubuntu20.04 | simple_requires-1-1-flv | | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de9a966b-b5e0-4ed1-9b1b-9cb76d60cd80 | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.10.206 | ubuntu20.04 | simple_requires-1-1-flv | | a3263d22-1c3d-466b-8cbe-220eb06bc75e | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.10.77; osm-ext=172.21.249.247 | ubuntu20.04 | simple_requires-1-1-flv | | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.43; osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | 902cc8ea-b8aa-4bef-ae48-ed73c3859211 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.99 | ubuntu18.04 | simple_requires-1-1-flv | | 2e40e41b-0700-4624-bc6f-2f989368ef47 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.154.2; osm-ext=172.21.249.37 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ ${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 845077e3-4631-49bb-8a3b-3dd761d4a225 ${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} = 845077e3-4631-49bb-8a3b-3dd761d4a225 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 aa0c3cc7-3fa9-44f0-ac4f-e796cd07785d ${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} = aa0c3cc7-3fa9-44f0-ac4f-e796cd07785d 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} = 4ae9699d-e472-485e-96e4-746947ad4301 ${stdout} Logs the given message with the given level. 4ae9699d-e472-485e-96e4-746947ad4301 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4ae9699d-e472-485e-96e4-746947ad4301 ${ns_id} Logs the given message with the given level. 4ae9699d-e472-485e-96e4-746947ad4301 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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 | 4ae9699d-e472-485e-96e4-746947ad4301 | 2024-04-15T23:04:30 | BUILDING | INSTANTIATING (36958ccc-a7f0-45ef-8557-3cab6bdf31bb) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4ae9699d-e472-485e-96e4-746947ad4301 | 2024-04-15T23:04:30 | BUILDING | INSTANTIATING (36958ccc-a7f0-45ef-8557-3cab6bdf31bb) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6ec4c220-b2de-4632-80c8-ebe4393c31f0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.100 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 4ae9699d-e472-485e-96e4-746947ad4301 | 2024-04-15T23:04: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} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6ec4c220-b2de-4632-80c8-ebe4393c31f0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.100 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 4ae9699d-e472-485e-96e4-746947ad4301 | 2024-04-15T23:04: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} = 4ae9699d-e472-485e-96e4-746947ad4301 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} = 4ae9699d-e472-485e-96e4-746947ad4301 ${stdout} Logs the given message with the given level. 4ae9699d-e472-485e-96e4-746947ad4301 ${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} = 4ae9699d-e472-485e-96e4-746947ad4301 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4ae9699d-e472-485e-96e4-746947ad4301 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 --ns ${ns_id} | 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 --ns 4ae9699d-e472-485e-96e4-746947ad4301 | grep 4ae9699d-e472-485e-96e4-746947ad4301 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 903d5149-6af3-44bb-8bfb-ce24f1ad1384 ${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} = [ 903d5149-6af3-44bb-8bfb-ce24f1ad1384 ] @{vnfr_list} = [ 903d5149-6af3-44bb-8bfb-ce24f1ad1384 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 903d5149-6af3-44bb-8bfb-ce24f1ad1384 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 903d5149-6af3-44bb-8bfb-ce24f1ad1384 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 903d5149-6af3-44bb-8bfb-ce24f1ad1384 --literal | yq -r .vdur[].name 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} = e5d40211-675f-4c61-9752-19fa9723b7da ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e5d40211-675f-4c61-9752-19fa9723b7da --literal | yq -r .operationState 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 e5d40211-675f-4c61-9752-19fa9723b7da ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e5d40211-675f-4c61-9752-19fa9723b7da --literal | yq -r .operationState 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 e5d40211-675f-4c61-9752-19fa9723b7da ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e5d40211-675f-4c61-9752-19fa9723b7da --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e5d40211-675f-4c61-9752-19fa9723b7da --literal | yq -r .operationState 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} = e5d40211-675f-4c61-9752-19fa9723b7da 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 903d5149-6af3-44bb-8bfb-ce24f1ad1384 --literal | yq -r .vdur[].name 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} = 3d1ea133-429a-466a-b97d-d920a289b0d0 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3d1ea133-429a-466a-b97d-d920a289b0d0 --literal | yq -r .operationState 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 3d1ea133-429a-466a-b97d-d920a289b0d0 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3d1ea133-429a-466a-b97d-d920a289b0d0 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3d1ea133-429a-466a-b97d-d920a289b0d0 --literal | yq -r .operationState 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} = 3d1ea133-429a-466a-b97d-d920a289b0d0 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 903d5149-6af3-44bb-8bfb-ce24f1ad1384 --literal | yq -r .vdur[].name 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} = +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 6ec4c220-b2de-4632-80c8-ebe4393c31f0 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.100 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | 70ff4415-c81c-4c74-a793-343cd611fa2f | basic_08_disable-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 3e313a0e-80f4-4830-952b-3c7cd0b8b3c0 | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 5e7b2214-6e25-4301-a176-67f463d02f36 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.128.172; basic_08_disable-internal=192.168.207.179 | ubuntu20.04 | simple_requires-1-1-flv | | 967f3b58-1614-4233-b728-ff10b996ce25 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.207.53; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 4ae05f4d-84f0-44cc-b8ad-936c57b8973c ${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} = 4ae05f4d-84f0-44cc-b8ad-936c57b8973c 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 4d9756b9-f1f1-4d68-9711-3763e2238647 ${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} = 4d9756b9-f1f1-4d68-9711-3763e2238647 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} = 4b88d0b4-3693-4501-b234-4ef553b07292 ${stdout} Logs the given message with the given level. 4b88d0b4-3693-4501-b234-4ef553b07292 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4b88d0b4-3693-4501-b234-4ef553b07292 ${ns_id} Logs the given message with the given level. 4b88d0b4-3693-4501-b234-4ef553b07292 ${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 | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ | 70ff4415-c81c-4c74-a793-343cd611fa2f | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.128.230; basic_08_disable-internal=192.168.41.212 | ubuntu20.04 | simple_requires-1-1-flv | | 3e313a0e-80f4-4830-952b-3c7cd0b8b3c0 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.41.198; osm-ext=172.21.248.142 | ubuntu20.04 | simple_requires-1-1-flv | | 5e7b2214-6e25-4301-a176-67f463d02f36 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.128.172; basic_08_disable-internal=192.168.207.179 | ubuntu20.04 | simple_requires-1-1-flv | | 967f3b58-1614-4233-b728-ff10b996ce25 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.207.53; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 70ff4415-c81c-4c74-a793-343cd611fa2f | basic_08_disable-vnf2-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.41.212 | ubuntu20.04 | simple_requires-1-1-flv | | 3e313a0e-80f4-4830-952b-3c7cd0b8b3c0 | basic_08_disable-vnf2-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.41.198; osm-ext=172.21.248.142 | ubuntu20.04 | simple_requires-1-1-flv | | 5e7b2214-6e25-4301-a176-67f463d02f36 | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-internal=192.168.207.179 | ubuntu20.04 | simple_requires-1-1-flv | | 967f3b58-1614-4233-b728-ff10b996ce25 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.207.53; osm-ext=172.21.249.12 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 23036cea-7199-4e91-bac6-436c5287a06e | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.35 | ubuntu20.04 | simple_requires-1-1-flv | | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5730c098-e58a-4dc5-804d-f295ef3d88c1 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 23036cea-7199-4e91-bac6-436c5287a06e | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.35 | ubuntu20.04 | simple_requires-1-1-flv | | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5730c098-e58a-4dc5-804d-f295ef3d88c1 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.245 | ubuntu20.04 | simple_requires-1-1-flv | | 23036cea-7199-4e91-bac6-436c5287a06e | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.35 | ubuntu20.04 | simple_requires-1-1-flv | | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06:48 | BUILDING | INSTANTIATING (32fb260b-d884-4863-8b63-72d59fc34ae7) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06: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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b88d0b4-3693-4501-b234-4ef553b07292 | 2024-04-15T23:06: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} = 4b88d0b4-3693-4501-b234-4ef553b07292 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4b88d0b4-3693-4501-b234-4ef553b07292 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 4b88d0b4-3693-4501-b234-4ef553b07292 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.179 ${stdout} Logs the given message with the given level. 172.21.248.179 ${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.179 ${ip_addr_1} Logs the given message with the given level. 172.21.248.179 ${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.179 ${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 4b88d0b4-3693-4501-b234-4ef553b07292 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.221 ${stdout} Logs the given message with the given level. 172.21.248.221 ${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.221 ${ip_addr_2} Logs the given message with the given level. 172.21.248.221 ${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.221 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.248.179: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 Mon Apr 15 23:11:17 UTC 2024 System load: 0.23 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.179 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 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.221: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 Mon Apr 15 23:11:19 UTC 2024 System load: 0.21 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.221 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 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.248.179: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 Mon Apr 15 23:11:21 UTC 2024 System load: 0.21 Processes: 88 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.179 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 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: Mon Apr 15 23:11:18 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.221: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 Mon Apr 15 23:11:23 UTC 2024 System load: 0.2 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.221 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 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: Mon Apr 15 23:11:20 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} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | fdca404f-da72-47b8-84d5-2e02c492296e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.208; osm-ext=172.21.248.221 | ubuntu18.04 | simple_requires-1-1-flv | | dc85d6df-3f4d-4d29-aae5-65d46e66a1f8 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.128.209; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 a89d405a-b592-4c2d-9c70-e528af0f5a89 ${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} = a89d405a-b592-4c2d-9c70-e528af0f5a89 '%{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 2ff4907e-8963-4b68-8fa2-e1a265c1acd7 ${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} = 2ff4907e-8963-4b68-8fa2-e1a265c1acd7 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 f4ee9525-77a8-4cbb-902b-728d3e4dfbfb ${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} = f4ee9525-77a8-4cbb-902b-728d3e4dfbfb 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} = 4520e69f-0ff8-4203-96e9-c51aea5f3a3a ${stdout} Logs the given message with the given level. 4520e69f-0ff8-4203-96e9-c51aea5f3a3a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4520e69f-0ff8-4203-96e9-c51aea5f3a3a ${ns_id} Logs the given message with the given level. 4520e69f-0ff8-4203-96e9-c51aea5f3a3a ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.144; test_nscharm-internal=192.168.232.68 | ubuntu18.04 | simple_requires-1-1-flv | | 96998b5d-6775-42a8-a63a-17b12ccd0461 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.248.30; test_nscharm-internal=192.168.105.76 | ubuntu18.04 | simple_requires-1-1-flv | | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.144; test_nscharm-internal=192.168.232.68 | ubuntu18.04 | simple_requires-1-1-flv | | 96998b5d-6775-42a8-a63a-17b12ccd0461 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.248.30; test_nscharm-internal=192.168.105.76 | ubuntu18.04 | simple_requires-1-1-flv | | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.144; test_nscharm-internal=192.168.232.68 | ubuntu18.04 | simple_requires-1-1-flv | | 96998b5d-6775-42a8-a63a-17b12ccd0461 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.248.30; test_nscharm-internal=192.168.105.76 | ubuntu18.04 | simple_requires-1-1-flv | | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.114; osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.96.241; osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.144; test_nscharm-internal=192.168.232.68 | ubuntu18.04 | simple_requires-1-1-flv | | 96998b5d-6775-42a8-a63a-17b12ccd0461 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.248.30; test_nscharm-internal=192.168.105.76 | ubuntu18.04 | simple_requires-1-1-flv | | 7108df43-a4bf-485d-a5e2-fcab26f75cf6 | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | e0998ced-b644-4c31-a812-4a102c6fdfca | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.209 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12:36 | BUILDING | INSTANTIATING (5719e58c-7c5d-4667-b2d7-8e74a8a92793) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.144; test_nscharm-internal=192.168.232.68 | ubuntu18.04 | simple_requires-1-1-flv | | 96998b5d-6775-42a8-a63a-17b12ccd0461 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.248.30; test_nscharm-internal=192.168.105.76 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12: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} = +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.144; test_nscharm-internal=192.168.232.68 | ubuntu18.04 | simple_requires-1-1-flv | | 96998b5d-6775-42a8-a63a-17b12ccd0461 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.248.30; test_nscharm-internal=192.168.105.76 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | 2024-04-15T23:12: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} = 4520e69f-0ff8-4203-96e9-c51aea5f3a3a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4520e69f-0ff8-4203-96e9-c51aea5f3a3a ${model_name} ${id} Makes a variable available everywhere within the scope of the current suite. ${model_name} = 4520e69f-0ff8-4203-96e9-c51aea5f3a3a basic_12 cluster_ee_config daily regression ${ns_charm_app_name} %{OSM_HOSTNAME} ${username} ${password} ${privatekey} ${model_name} ${charm_name} ${model_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.13 ${stdout} ${host} ${username} ${password} ${privatekey} juju status -m ${model_name} | grep "\\-ns" | grep -v "*" | grep -i ${charm_name} | 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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Mon Apr 15 23:15:27 UTC 2024 System load: 3.74560546875 Users logged in: 0 Usage of /: 22.3% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 47% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 548 IPv4 address for lxdbr0: 10.147.93.1 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Mon Apr 15 22:55:33 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'juju status -m 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | grep "\-ns" | grep -v "*" | grep -i ns | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = ns-ns ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. ns-ns Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = ns-ns ${stdout} Logs the given message with the given level. ns-ns ${stdout} Verifies that the given item is not empty. Length is 5 ${ns_charm_app_name} = ns-ns ${length} ${ns_charm_app_name} Returns and logs the length of the given item as an integer. Length is 5 ${length} = 5 ${length} <50 Fails if the given condition is not true. basic_12 cluster_ee_config daily regression ${vdu_charm_app_name} %{OSM_HOSTNAME} ${username} ${password} ${privatekey} ${model_name} ${vdu_profile_id} ${ee_name} ${model_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.13 ${stdout} ${host} ${username} ${password} ${privatekey} juju status -m ${model_name} | grep "\\-vdu" | grep -v "*" | grep -i ${vdu_profile_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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Mon Apr 15 23:15:27 UTC 2024 System load: 3.74560546875 Users logged in: 0 Usage of /: 22.3% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 47% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 548 IPv4 address for lxdbr0: 10.147.93.1 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Mon Apr 15 23:15:28 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'juju status -m 4520e69f-0ff8-4203-96e9-c51aea5f3a3a | grep "\-vdu" | grep -v "*" | grep -i PolicyVM | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = vnf-policy-e-z0-z2-policyvm-z0-vdu ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. vnf-policy-e-z0-z2-policyvm-z0-vdu Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = vnf-policy-e-z0-z2-policyvm-z0-vdu ${stdout} Logs the given message with the given level. vnf-policy-e-z0-z2-policyvm-z0-vdu ${stdout} Verifies that the given item is not empty. Length is 34 ${stdout} ${ee_name} Fails if ``container`` does not contain ``item`` one or more times. ${vdu_charm_app_name} = vnf-policy-e-z0-z2-policyvm-z0-vdu ${length} ${vdu_charm_app_name} Returns and logs the length of the given item as an integer. Length is 34 ${length} = 34 ${length} <50 Fails if the given condition is not true. 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} = +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.144; test_nscharm-internal=192.168.232.68 | ubuntu18.04 | simple_requires-1-1-flv | | 96998b5d-6775-42a8-a63a-17b12ccd0461 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.248.30; test_nscharm-internal=192.168.105.76 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+---------------------------+---------+--------------------------------------------------------------+-------------+-------------------------+ | 01faa482-5aaa-4884-8602-c6f1be5b5ce5 | test_nscharm-2-policyVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 00132299-2b05-4638-9a82-b853ab48d4ba | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.129; test_nscharm-internal=192.168.231.65 | ubuntu18.04 | simple_requires-1-1-flv | | d73d56f5-03ac-4cc3-b78f-6710724381d1 | test_nscharm-2-policyVM-0 | DELETED | | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+---------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 01faa482-5aaa-4884-8602-c6f1be5b5ce5 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.244.27 | ubuntu18.04 | simple_requires-1-1-flv | | 00132299-2b05-4638-9a82-b853ab48d4ba | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.129; test_nscharm-internal=192.168.231.65 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 765316dc-d462-432d-acc2-31edba076f93 ${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} = 765316dc-d462-432d-acc2-31edba076f93 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 28efe4ee-6acc-4ded-b138-c79d2970c45b ${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} = 28efe4ee-6acc-4ded-b138-c79d2970c45b 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 8a6269fa-87ed-4e4f-a87c-a164b55bdbe1 ${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} = 8a6269fa-87ed-4e4f-a87c-a164b55bdbe1 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} = 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 ${stdout} Logs the given message with the given level. 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 ${ns_id} Logs the given message with the given level. 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 ${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 | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 01faa482-5aaa-4884-8602-c6f1be5b5ce5 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.244.27 | ubuntu18.04 | simple_requires-1-1-flv | | 00132299-2b05-4638-9a82-b853ab48d4ba | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.129; test_nscharm-internal=192.168.231.65 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 01faa482-5aaa-4884-8602-c6f1be5b5ce5 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.244.27 | ubuntu18.04 | simple_requires-1-1-flv | | 00132299-2b05-4638-9a82-b853ab48d4ba | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.129; test_nscharm-internal=192.168.231.65 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 01faa482-5aaa-4884-8602-c6f1be5b5ce5 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.244.27 | ubuntu18.04 | simple_requires-1-1-flv | | 00132299-2b05-4638-9a82-b853ab48d4ba | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.129; test_nscharm-internal=192.168.231.65 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 01faa482-5aaa-4884-8602-c6f1be5b5ce5 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.244.27 | ubuntu18.04 | simple_requires-1-1-flv | | 00132299-2b05-4638-9a82-b853ab48d4ba | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.129; test_nscharm-internal=192.168.231.65 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 01faa482-5aaa-4884-8602-c6f1be5b5ce5 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.248.95; test_nscharm-internal=192.168.244.27 | ubuntu18.04 | simple_requires-1-1-flv | | 00132299-2b05-4638-9a82-b853ab48d4ba | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.129; test_nscharm-internal=192.168.231.65 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16:30 | BUILDING | INSTANTIATING (065271c4-0780-46a0-95b5-7a56babc7a1d) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16: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} = +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 | 2024-04-15T23:16: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} = 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4cc0bb4d-35a6-4228-89e9-c27ebab9f9e7 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 5292f0a0-0807-4a26-9aa7-32d0c9264554 | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.243 | ubuntu18.04 | simple_requires-1-1-flv | | 9be08744-ad0a-4b1f-9c32-803a1211187b | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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_provides', 'simple_requires'} 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_provides', 'simple_requires'} 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 1178b912-c1f4-4021-a305-3eb0db76ac11 ${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} = 1178b912-c1f4-4021-a305-3eb0db76ac11 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 5b65bb98-b97f-4ac3-925a-cffab7452685 ${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} = 5b65bb98-b97f-4ac3-925a-cffab7452685 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} = d5b390d1-e595-4358-93cf-b85422624eaa ${stdout} Logs the given message with the given level. d5b390d1-e595-4358-93cf-b85422624eaa ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d5b390d1-e595-4358-93cf-b85422624eaa ${ns_id} Logs the given message with the given level. d5b390d1-e595-4358-93cf-b85422624eaa ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | BUILDING | INSTANTIATING (f3ddc672-501b-4d8e-9fde-c7c9aa808abb) | N/A | +-----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d5b390d1-e595-4358-93cf-b85422624eaa | 2024-04-15T23:21:22 | 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} = d5b390d1-e595-4358-93cf-b85422624eaa ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d5b390d1-e595-4358-93cf-b85422624eaa 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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | b1145e88-4380-4ed2-876e-8277d0fcb382 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.249.133 | ubuntu18.04 | simple_requires-1-1-flv | | 0197b12b-ba69-4663-a9fb-1fba76e804a4 | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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} = 43d6a36f-c0d4-48fc-9bff-a66019c93c18 ${stdout} Logs the given message with the given level. 43d6a36f-c0d4-48fc-9bff-a66019c93c18 ${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 ${user_name} ${user_password} ${user_new_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 ${user_new_password} Verifies that the given item is not empty. Length is 17 ${rc} ${stdout} osm user-update ${user_name} --current-password ${user_password} --new-password ${user_new_password} Runs the given command in the system and returns the RC and output. Running command 'osm user-update basic_15_test_user --current-password Basic_15_user_pass --new-password Basic_15_new_pass 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'> ${rc} ${stdout} OSM_USER=${user_name} OSM_PROJECT=${user_project} OSM_PASSWORD=${user_new_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_new_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} = 400470a5-940b-48f8-929a-f77082eab9fe ${stdout} Logs the given message with the given level. 400470a5-940b-48f8-929a-f77082eab9fe ${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} = 2eeb3156-d8a8-4d91-bdf9-a4e9d4718148 ${stdout} Logs the given message with the given level. 2eeb3156-d8a8-4d91-bdf9-a4e9d4718148 ${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 7e3eaff4-899d-47bc-919a-dbc7f9580a63 ${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} = 7e3eaff4-899d-47bc-919a-dbc7f9580a63 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 695f77ef-c7cb-47af-8849-9d2ceb7797af ${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} = 695f77ef-c7cb-47af-8849-9d2ceb7797af 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} = eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 ${stdout} Logs the given message with the given level. eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 ${ns_id} Logs the given message with the given level. eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | 2024-04-15T23:25:59 | BUILDING | INSTANTIATING (57020e0c-fbe0-40dc-9fbd-b96c433e3a97) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | 2024-04-15T23:25:59 | BUILDING | INSTANTIATING (57020e0c-fbe0-40dc-9fbd-b96c433e3a97) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | b9b09e36-5fcb-4a7e-a7ec-a0aa88460570 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.113 | ubuntu20.04 | simple_requires-1-1-flv | | 43475392-5530-4441-85d7-572825ff4c96 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | 0a493ef6-21af-4fb6-919e-ef015274c93c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | 2024-04-15T23:25:59 | BUILDING | INSTANTIATING (57020e0c-fbe0-40dc-9fbd-b96c433e3a97) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | 2024-04-15T23:25:59 | BUILDING | INSTANTIATING (57020e0c-fbe0-40dc-9fbd-b96c433e3a97) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | b9b09e36-5fcb-4a7e-a7ec-a0aa88460570 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.113 | ubuntu20.04 | simple_requires-1-1-flv | | 43475392-5530-4441-85d7-572825ff4c96 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | 0a493ef6-21af-4fb6-919e-ef015274c93c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | 2024-04-15T23:25:59 | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | b9b09e36-5fcb-4a7e-a7ec-a0aa88460570 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.113 | ubuntu20.04 | simple_requires-1-1-flv | | 43475392-5530-4441-85d7-572825ff4c96 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | 0a493ef6-21af-4fb6-919e-ef015274c93c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | 2024-04-15T23:25:59 | 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} = eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 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 --ns ${ns_id} | 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 --ns eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | grep eb26aaf5-5d4f-447a-b5e1-7a338f526ce5 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 ${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} = [ 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 ] @{vnfr_list} = [ 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 --literal | yq -r .vdur[].name 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} = 2aeb3c67-216c-4d4e-895a-5d229701d69b ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2aeb3c67-216c-4d4e-895a-5d229701d69b --literal | yq -r .operationState 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 2aeb3c67-216c-4d4e-895a-5d229701d69b ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2aeb3c67-216c-4d4e-895a-5d229701d69b --literal | yq -r .operationState 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 2aeb3c67-216c-4d4e-895a-5d229701d69b ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2aeb3c67-216c-4d4e-895a-5d229701d69b --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2aeb3c67-216c-4d4e-895a-5d229701d69b --literal | yq -r .operationState 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} = 2aeb3c67-216c-4d4e-895a-5d229701d69b 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 --literal | yq -r .vdur[].name 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} = bb314d39-08e3-4497-8c00-0aec6b5fe3b1 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb314d39-08e3-4497-8c00-0aec6b5fe3b1 --literal | yq -r .operationState 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 bb314d39-08e3-4497-8c00-0aec6b5fe3b1 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb314d39-08e3-4497-8c00-0aec6b5fe3b1 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb314d39-08e3-4497-8c00-0aec6b5fe3b1 --literal | yq -r .operationState 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} = bb314d39-08e3-4497-8c00-0aec6b5fe3b1 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 7adcdd1c-bcb7-4247-b592-03d7c8d11ce5 --literal | yq -r .vdur[].name 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | b9b09e36-5fcb-4a7e-a7ec-a0aa88460570 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.113 | ubuntu20.04 | simple_requires-1-1-flv | | 43475392-5530-4441-85d7-572825ff4c96 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.187 | ubuntu20.04 | simple_requires-1-1-flv | | 0a493ef6-21af-4fb6-919e-ef015274c93c | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.100 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 12e22050-1ef7-49a2-8181-c0dd9d99aacb ${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} = 12e22050-1ef7-49a2-8181-c0dd9d99aacb 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 0a6e9365-a5be-4ffb-9c88-797b97993ad7 ${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} = 0a6e9365-a5be-4ffb-9c88-797b97993ad7 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 ec3f8bda-ecf6-4dee-a926-07eee49171f1 ${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} = ec3f8bda-ecf6-4dee-a926-07eee49171f1 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 a06e158e-4516-49c5-bc2e-c0af7a016ee1 ${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} = a06e158e-4516-49c5-bc2e-c0af7a016ee1 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} = d3696be3-1fc8-4d52-b703-85bb2e56ac7a ${stdout} Logs the given message with the given level. d3696be3-1fc8-4d52-b703-85bb2e56ac7a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d3696be3-1fc8-4d52-b703-85bb2e56ac7a ${ns_id} Logs the given message with the given level. d3696be3-1fc8-4d52-b703-85bb2e56ac7a ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d3696be3-1fc8-4d52-b703-85bb2e56ac7a | 2024-04-15T23:29:01 | BUILDING | INSTANTIATING (6906d1b4-e152-4a78-af5e-fec5a7726514) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d3696be3-1fc8-4d52-b703-85bb2e56ac7a | 2024-04-15T23:29:01 | BUILDING | INSTANTIATING (6906d1b4-e152-4a78-af5e-fec5a7726514) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 00031e3c-d83c-43eb-9ef7-055127a931cb | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b9d50aed-ebe1-46d5-9c59-5de720e6eb97 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.233; basic_18-datanet2=192.168.20.176; basic_18-datanet3=192.168.30.22; osm-ext=172.21.249.102 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | d3696be3-1fc8-4d52-b703-85bb2e56ac7a | 2024-04-15T23:29:01 | BUILDING | INSTANTIATING (6906d1b4-e152-4a78-af5e-fec5a7726514) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d3696be3-1fc8-4d52-b703-85bb2e56ac7a | 2024-04-15T23:29:01 | BUILDING | INSTANTIATING (6906d1b4-e152-4a78-af5e-fec5a7726514) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 00031e3c-d83c-43eb-9ef7-055127a931cb | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.151; basic_18-datanet2=192.168.20.42; basic_18-datanet3=192.168.30.178; osm-ext=172.21.248.139 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b9d50aed-ebe1-46d5-9c59-5de720e6eb97 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.233; basic_18-datanet2=192.168.20.176; basic_18-datanet3=192.168.30.22; osm-ext=172.21.249.102 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | d3696be3-1fc8-4d52-b703-85bb2e56ac7a | 2024-04-15T23:29: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 | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 00031e3c-d83c-43eb-9ef7-055127a931cb | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.151; basic_18-datanet2=192.168.20.42; basic_18-datanet3=192.168.30.178; osm-ext=172.21.248.139 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b9d50aed-ebe1-46d5-9c59-5de720e6eb97 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.233; basic_18-datanet2=192.168.20.176; basic_18-datanet3=192.168.30.22; osm-ext=172.21.249.102 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | d3696be3-1fc8-4d52-b703-85bb2e56ac7a | 2024-04-15T23:29: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} = d3696be3-1fc8-4d52-b703-85bb2e56ac7a ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d3696be3-1fc8-4d52-b703-85bb2e56ac7a 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 --ns ${ns_id} | 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 --ns d3696be3-1fc8-4d52-b703-85bb2e56ac7a | grep d3696be3-1fc8-4d52-b703-85bb2e56ac7a | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = b33525d9-39b1-499a-b07b-de56dfad81af 13e17971-c64a-4bfd-ac27-2c2882569f45 ${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} = [ b33525d9-39b1-499a-b07b-de56dfad81af | 13e17971-c64a-4bfd-ac27-2c2882569f45 ] @{vnfr_list} = [ b33525d9-39b1-499a-b07b-de56dfad81af | 13e17971-c64a-4bfd-ac27-2c2882569f45 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: b33525d9-39b1-499a-b07b-de56dfad81af 1: 13e17971-c64a-4bfd-ac27-2c2882569f45 ${vnf_id1} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id1} = b33525d9-39b1-499a-b07b-de56dfad81af ${vnf_id2} ${vnfr_list}[1] Makes a variable available everywhere within the scope of the current suite. ${vnf_id2} = 13e17971-c64a-4bfd-ac27-2c2882569f45 ${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 d3696be3-1fc8-4d52-b703-85bb2e56ac7a | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.102 ${stdout} Logs the given message with the given level. 172.21.249.102 ${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.102 ${vnf1_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ipmgmt} = 172.21.249.102 ${vnf1_ipmgmt} Logs the given message with the given level. 172.21.249.102 ${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 d3696be3-1fc8-4d52-b703-85bb2e56ac7a | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.139 ${stdout} Logs the given message with the given level. 172.21.248.139 ${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.139 ${vnf2_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ipmgmt} = 172.21.248.139 ${vnf2_ipmgmt} Logs the given message with the given level. 172.21.248.139 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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b33525d9-39b1-499a-b07b-de56dfad81af --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.233 ${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.233 ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface2_name}")' | yq -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b33525d9-39b1-499a-b07b-de56dfad81af --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.176 ${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.176 ${rc} ${stdout} osm vnf-show ${vnf_id1} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface3_name}")' | yq -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show b33525d9-39b1-499a-b07b-de56dfad81af --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.22 ${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.22 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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 13e17971-c64a-4bfd-ac27-2c2882569f45 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.10.151 ${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.151 ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface2_name}")' | yq -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 13e17971-c64a-4bfd-ac27-2c2882569f45 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth2")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.20.42 ${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.42 ${rc} ${stdout} osm vnf-show ${vnf_id2} --literal | yq '.vdur[0].interfaces[] | select(.name == "${iface3_name}")' | yq -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 13e17971-c64a-4bfd-ac27-2c2882569f45 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth3")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.30.178 ${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.178 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.249.102: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 Mon Apr 15 23:30:38 UTC 2024 System load: 0.58 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.249.102 Memory usage: 10% IPv4 address for ens4: 192.168.10.233 Swap usage: 0% IPv4 address for ens5: 192.168.20.176 Processes: 109 IPv4 address for ens6: 192.168.30.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@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.249.102/22 192.168.10.233/24 192.168.20.176/24 192.168.30.22/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.102/22 192.168.10.233/24 192.168.20.176/24 192.168.30.22/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.102/22 192.168.10.233/24 192.168.20.176/24 192.168.30.22/24 ${stdout} Logs the given message with the given level. 172.21.249.102/22 192.168.10.233/24 192.168.20.176/24 192.168.30.22/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.102/22 | 192.168.10.233/24 | 192.168.20.176/24 | 192.168.30.22/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.248.139: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 Mon Apr 15 23:30:40 UTC 2024 System load: 0.73 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.248.139 Memory usage: 10% IPv4 address for ens4: 192.168.10.151 Swap usage: 0% IPv4 address for ens5: 192.168.20.42 Processes: 109 IPv4 address for ens6: 192.168.30.178 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.248.139/22 192.168.10.151/24 192.168.20.42/24 192.168.30.178/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.139/22 192.168.10.151/24 192.168.20.42/24 192.168.30.178/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.139/22 192.168.10.151/24 192.168.20.42/24 192.168.30.178/24 ${stdout} Logs the given message with the given level. 172.21.248.139/22 192.168.10.151/24 192.168.20.42/24 192.168.30.178/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.139/22 | 192.168.10.151/24 | 192.168.20.42/24 | 192.168.30.178/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.249.102: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 Mon Apr 15 23:30:43 UTC 2024 System load: 0.54 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.102 Memory usage: 10% IPv4 address for ens4: 192.168.10.233 Swap usage: 0% IPv4 address for ens5: 192.168.20.176 Processes: 109 IPv4 address for ens6: 192.168.30.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 New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Mon Apr 15 23:30:39 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.248.139'. 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:37:82:a0 brd ff:ff:ff:ff:ff:ff inet 172.21.249.102/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86343sec preferred_lft 86343sec inet6 fe80::f816:3eff:fe37:82a0/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:cf:bc:c6 brd ff:ff:ff:ff:ff:ff inet 192.168.10.233/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecf:bcc6/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:43:51:cf brd ff:ff:ff:ff:ff:ff inet 192.168.20.176/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe43:51cf/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:de:88:34 brd ff:ff:ff:ff:ff:ff inet 192.168.30.22/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fede:8834/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.139 (172.21.248.139) 56(84) bytes of data. 64 bytes from 172.21.248.139: icmp_seq=1 ttl=64 time=2.51 ms 64 bytes from 172.21.248.139: icmp_seq=2 ttl=64 time=0.722 ms 64 bytes from 172.21.248.139: icmp_seq=3 ttl=64 time=0.641 ms 64 bytes from 172.21.248.139: icmp_seq=4 ttl=64 time=0.656 ms 64 bytes from 172.21.248.139: icmp_seq=5 ttl=64 time=0.649 ms --- 172.21.248.139 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.641/1.036/2.514/0.739 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:37:82:a0 brd ff:ff:ff:ff:ff:ff inet 172.21.249.102/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86343sec preferred_lft 86343sec inet6 fe80::f816:3eff:fe37:82a0/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:cf:bc:c6 brd ff:ff:ff:ff:ff:ff inet 192.168.10.233/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fecf:bcc6/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:43:51:cf brd ff:ff:ff:ff:ff:ff inet 192.168.20.176/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe43:51cf/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:de:88:34 brd ff:ff:ff:ff:ff:ff inet 192.168.30.22/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fede:8834/64 scope link valid_lft forever preferred_lft forever PING 172.21.248.139 (172.21.248.139) 56(84) bytes of data. 64 bytes from 172.21.248.139: icmp_seq=1 ttl=64 time=2.51 ms 64 bytes from 172.21.248.139: icmp_seq=2 ttl=64 time=0.722 ms 64 bytes from 172.21.248.139: icmp_seq=3 ttl=64 time=0.641 ms 64 bytes from 172.21.248.139: icmp_seq=4 ttl=64 time=0.656 ms 64 bytes from 172.21.248.139: icmp_seq=5 ttl=64 time=0.649 ms --- 172.21.248.139 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.641/1.036/2.514/0.739 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.249.102: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 Mon Apr 15 23:30:48 UTC 2024 System load: 0.49 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.102 Memory usage: 10% IPv4 address for ens4: 192.168.10.233 Swap usage: 0% IPv4 address for ens5: 192.168.20.176 Processes: 109 IPv4 address for ens6: 192.168.30.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 New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Mon Apr 15 23:30: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-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.151'. Command exited with return code 0. ${stdout} = PING 192.168.10.151 (192.168.10.151) 56(84) bytes of data. 64 bytes from 192.168.10.151: icmp_seq=1 ttl=64 time=2.18 ms 64 bytes from 192.168.10.151: icmp_seq=2 ttl=64 time=0.669 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.151 (192.168.10.151) 56(84) bytes of data. 64 bytes from 192.168.10.151: icmp_seq=1 ttl=64 time=2.18 ms 64 bytes from 192.168.10.151: icmp_seq=2 ttl=64 time=0.669 ms 64 bytes from 192.168.10.151: icmp_seq=3 ttl=64 time=0.623 ms 64 bytes from 192.168.10.151: icmp_seq=4 ttl=64 time=0.717 ms 64 bytes from 192.168.10.151: icmp_seq=5 ttl=64 time=0.600 ms --- 192.168.10.151 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4079ms rtt min/avg/max/mdev = 0.600/0.957/2.177/0.611 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.151 (192.168.10.151) 56(84) bytes of data. 64 bytes from 192.168.10.151: icmp_seq=1 ttl=64 time=2.18 ms 64 bytes from 192.168.10.151: icmp_seq=2 ttl=64 time=0.669 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.10.151 (192.168.10.151) 56(84) bytes of data. 64 bytes from 192.168.10.151: icmp_seq=1 ttl=64 time=2.18 ms 64 bytes from 192.168.10.151: icmp_seq=2 ttl=64 time=0.669 ms 64 bytes from 192.168.10.151: icmp_seq=3 ttl=64 time=0.623 ms 64 bytes from 192.168.10.151: icmp_seq=4 ttl=64 time=0.717 ms 64 bytes from 192.168.10.151: icmp_seq=5 ttl=64 time=0.600 ms --- 192.168.10.151 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4079ms rtt min/avg/max/mdev = 0.600/0.957/2.177/0.611 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.249.102: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 Mon Apr 15 23:30:54 UTC 2024 System load: 0.45 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.102 Memory usage: 10% IPv4 address for ens4: 192.168.10.233 Swap usage: 0% IPv4 address for ens5: 192.168.20.176 Processes: 109 IPv4 address for ens6: 192.168.30.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 New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Mon Apr 15 23:30:49 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.42'. Command exited with return code 0. ${stdout} = PING 192.168.20.42 (192.168.20.42) 56(84) bytes of data. 64 bytes from 192.168.20.42: icmp_seq=1 ttl=64 time=2.77 ms 64 bytes from 192.168.20.42: icmp_seq=2 ttl=64 time=0.819 ms 64 bytes from 192.168.... ${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.42 (192.168.20.42) 56(84) bytes of data. 64 bytes from 192.168.20.42: icmp_seq=1 ttl=64 time=2.77 ms 64 bytes from 192.168.20.42: icmp_seq=2 ttl=64 time=0.819 ms 64 bytes from 192.168.20.42: icmp_seq=3 ttl=64 time=0.755 ms 64 bytes from 192.168.20.42: icmp_seq=4 ttl=64 time=0.647 ms 64 bytes from 192.168.20.42: icmp_seq=5 ttl=64 time=0.674 ms --- 192.168.20.42 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4011ms rtt min/avg/max/mdev = 0.647/1.132/2.767/0.819 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.42 (192.168.20.42) 56(84) bytes of data. 64 bytes from 192.168.20.42: icmp_seq=1 ttl=64 time=2.77 ms 64 bytes from 192.168.20.42: icmp_seq=2 ttl=64 time=0.819 ms 64 bytes from 192.168.... ${stdout} Logs the given message with the given level. PING 192.168.20.42 (192.168.20.42) 56(84) bytes of data. 64 bytes from 192.168.20.42: icmp_seq=1 ttl=64 time=2.77 ms 64 bytes from 192.168.20.42: icmp_seq=2 ttl=64 time=0.819 ms 64 bytes from 192.168.20.42: icmp_seq=3 ttl=64 time=0.755 ms 64 bytes from 192.168.20.42: icmp_seq=4 ttl=64 time=0.647 ms 64 bytes from 192.168.20.42: icmp_seq=5 ttl=64 time=0.674 ms --- 192.168.20.42 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4011ms rtt min/avg/max/mdev = 0.647/1.132/2.767/0.819 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.249.102: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 Mon Apr 15 23:31:00 UTC 2024 System load: 1.42 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.249.102 Memory usage: 10% IPv4 address for ens4: 192.168.10.233 Swap usage: 0% IPv4 address for ens5: 192.168.20.176 Processes: 109 IPv4 address for ens6: 192.168.30.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 New release '22.04.3 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Mon Apr 15 23:30:55 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.178'. Command exited with return code 0. ${stdout} = PING 192.168.30.178 (192.168.30.178) 56(84) bytes of data. 64 bytes from 192.168.30.178: icmp_seq=1 ttl=64 time=2.95 ms 64 bytes from 192.168.30.178: icmp_seq=2 ttl=64 time=0.715 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.178 (192.168.30.178) 56(84) bytes of data. 64 bytes from 192.168.30.178: icmp_seq=1 ttl=64 time=2.95 ms 64 bytes from 192.168.30.178: icmp_seq=2 ttl=64 time=0.715 ms 64 bytes from 192.168.30.178: icmp_seq=3 ttl=64 time=0.767 ms 64 bytes from 192.168.30.178: icmp_seq=4 ttl=64 time=0.666 ms 64 bytes from 192.168.30.178: icmp_seq=5 ttl=64 time=0.743 ms --- 192.168.30.178 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4033ms rtt min/avg/max/mdev = 0.666/1.168/2.950/0.891 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.178 (192.168.30.178) 56(84) bytes of data. 64 bytes from 192.168.30.178: icmp_seq=1 ttl=64 time=2.95 ms 64 bytes from 192.168.30.178: icmp_seq=2 ttl=64 time=0.715 ms 64 bytes from 192.... ${stdout} Logs the given message with the given level. PING 192.168.30.178 (192.168.30.178) 56(84) bytes of data. 64 bytes from 192.168.30.178: icmp_seq=1 ttl=64 time=2.95 ms 64 bytes from 192.168.30.178: icmp_seq=2 ttl=64 time=0.715 ms 64 bytes from 192.168.30.178: icmp_seq=3 ttl=64 time=0.767 ms 64 bytes from 192.168.30.178: icmp_seq=4 ttl=64 time=0.666 ms 64 bytes from 192.168.30.178: icmp_seq=5 ttl=64 time=0.743 ms --- 192.168.30.178 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4033ms rtt min/avg/max/mdev = 0.666/1.168/2.950/0.891 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.248.139: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 Mon Apr 15 23:31:06 UTC 2024 System load: 0.48 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.139 Memory usage: 10% IPv4 address for ens4: 192.168.10.151 Swap usage: 0% IPv4 address for ens5: 192.168.20.42 Processes: 107 IPv4 address for ens6: 192.168.30.178 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: Mon Apr 15 23:30:41 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.249.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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86324sec preferred_lft 86324sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.102 (172.21.249.102) 56(84) bytes of data. 64 bytes from 172.21.249.102: icmp_seq=1 ttl=64 time=1.19 ms 64 bytes from 172.21.249.102: icmp_seq=2 ttl=64 time=0.611 ms 64 bytes from 172.21.249.102: icmp_seq=3 ttl=64 time=0.600 ms 64 bytes from 172.21.249.102: icmp_seq=4 ttl=64 time=0.701 ms 64 bytes from 172.21.249.102: icmp_seq=5 ttl=64 time=0.763 ms --- 172.21.249.102 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 0.600/0.773/1.190/0.216 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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86324sec preferred_lft 86324sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 172.21.249.102 (172.21.249.102) 56(84) bytes of data. 64 bytes from 172.21.249.102: icmp_seq=1 ttl=64 time=1.19 ms 64 bytes from 172.21.249.102: icmp_seq=2 ttl=64 time=0.611 ms 64 bytes from 172.21.249.102: icmp_seq=3 ttl=64 time=0.600 ms 64 bytes from 172.21.249.102: icmp_seq=4 ttl=64 time=0.701 ms 64 bytes from 172.21.249.102: icmp_seq=5 ttl=64 time=0.763 ms --- 172.21.249.102 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4051ms rtt min/avg/max/mdev = 0.600/0.773/1.190/0.216 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.248.139: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 Mon Apr 15 23:31:12 UTC 2024 System load: 0.44 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.139 Memory usage: 10% IPv4 address for ens4: 192.168.10.151 Swap usage: 0% IPv4 address for ens5: 192.168.20.42 Processes: 109 IPv4 address for ens6: 192.168.30.178 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: Mon Apr 15 23:31:06 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.233'. 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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86319sec preferred_lft 86319sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.233 (192.168.10.233) 56(84) bytes of data. 64 bytes from 192.168.10.233: icmp_seq=1 ttl=64 time=1.75 ms 64 bytes from 192.168.10.233: icmp_seq=2 ttl=64 time=0.646 ms 64 bytes from 192.168.10.233: icmp_seq=3 ttl=64 time=0.674 ms 64 bytes from 192.168.10.233: icmp_seq=4 ttl=64 time=0.687 ms 64 bytes from 192.168.10.233: icmp_seq=5 ttl=64 time=0.840 ms --- 192.168.10.233 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4065ms rtt min/avg/max/mdev = 0.646/0.918/1.745/0.418 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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86319sec preferred_lft 86319sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 192.168.10.233 (192.168.10.233) 56(84) bytes of data. 64 bytes from 192.168.10.233: icmp_seq=1 ttl=64 time=1.75 ms 64 bytes from 192.168.10.233: icmp_seq=2 ttl=64 time=0.646 ms 64 bytes from 192.168.10.233: icmp_seq=3 ttl=64 time=0.674 ms 64 bytes from 192.168.10.233: icmp_seq=4 ttl=64 time=0.687 ms 64 bytes from 192.168.10.233: icmp_seq=5 ttl=64 time=0.840 ms --- 192.168.10.233 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4065ms rtt min/avg/max/mdev = 0.646/0.918/1.745/0.418 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.248.139: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 Mon Apr 15 23:31:18 UTC 2024 System load: 0.41 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.139 Memory usage: 10% IPv4 address for ens4: 192.168.10.151 Swap usage: 0% IPv4 address for ens5: 192.168.20.42 Processes: 109 IPv4 address for ens6: 192.168.30.178 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: Mon Apr 15 23:31: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@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.176'. 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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86313sec preferred_lft 86313sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.176 (192.168.20.176) 56(84) bytes of data. 64 bytes from 192.168.20.176: icmp_seq=1 ttl=64 time=1.67 ms 64 bytes from 192.168.20.176: icmp_seq=2 ttl=64 time=0.833 ms 64 bytes from 192.168.20.176: icmp_seq=3 ttl=64 time=0.887 ms 64 bytes from 192.168.20.176: icmp_seq=4 ttl=64 time=0.638 ms 64 bytes from 192.168.20.176: icmp_seq=5 ttl=64 time=0.799 ms --- 192.168.20.176 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4047ms rtt min/avg/max/mdev = 0.638/0.964/1.667/0.360 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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86313sec preferred_lft 86313sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 192.168.20.176 (192.168.20.176) 56(84) bytes of data. 64 bytes from 192.168.20.176: icmp_seq=1 ttl=64 time=1.67 ms 64 bytes from 192.168.20.176: icmp_seq=2 ttl=64 time=0.833 ms 64 bytes from 192.168.20.176: icmp_seq=3 ttl=64 time=0.887 ms 64 bytes from 192.168.20.176: icmp_seq=4 ttl=64 time=0.638 ms 64 bytes from 192.168.20.176: icmp_seq=5 ttl=64 time=0.799 ms --- 192.168.20.176 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4047ms rtt min/avg/max/mdev = 0.638/0.964/1.667/0.360 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.248.139: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 Mon Apr 15 23:31:23 UTC 2024 System load: 0.37 Users logged in: 0 Usage of /: 14.2% of 9.52GB IPv4 address for ens3: 172.21.248.139 Memory usage: 10% IPv4 address for ens4: 192.168.10.151 Swap usage: 0% IPv4 address for ens5: 192.168.20.42 Processes: 105 IPv4 address for ens6: 192.168.30.178 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: Mon Apr 15 23:31: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-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.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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86307sec preferred_lft 86307sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.22 (192.168.30.22) 56(84) bytes of data. 64 bytes from 192.168.30.22: icmp_seq=1 ttl=64 time=1.55 ms 64 bytes from 192.168.30.22: icmp_seq=2 ttl=64 time=0.769 ms 64 bytes from 192.168.30.22: icmp_seq=3 ttl=64 time=0.849 ms 64 bytes from 192.168.30.22: icmp_seq=4 ttl=64 time=0.729 ms 64 bytes from 192.168.30.22: icmp_seq=5 ttl=64 time=0.818 ms --- 192.168.30.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4009ms rtt min/avg/max/mdev = 0.729/0.942/1.549/0.305 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:a4:de:2e brd ff:ff:ff:ff:ff:ff inet 172.21.248.139/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86307sec preferred_lft 86307sec inet6 fe80::f816:3eff:fea4:de2e/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:a4:b8:91 brd ff:ff:ff:ff:ff:ff inet 192.168.10.151/24 brd 192.168.10.255 scope global ens4 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea4:b891/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:59:c8:fe brd ff:ff:ff:ff:ff:ff inet 192.168.20.42/24 brd 192.168.20.255 scope global ens5 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fe59:c8fe/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:a2:07:69 brd ff:ff:ff:ff:ff:ff inet 192.168.30.178/24 brd 192.168.30.255 scope global ens6 valid_lft forever preferred_lft forever inet6 fe80::f816:3eff:fea2:769/64 scope link valid_lft forever preferred_lft forever PING 192.168.30.22 (192.168.30.22) 56(84) bytes of data. 64 bytes from 192.168.30.22: icmp_seq=1 ttl=64 time=1.55 ms 64 bytes from 192.168.30.22: icmp_seq=2 ttl=64 time=0.769 ms 64 bytes from 192.168.30.22: icmp_seq=3 ttl=64 time=0.849 ms 64 bytes from 192.168.30.22: icmp_seq=4 ttl=64 time=0.729 ms 64 bytes from 192.168.30.22: icmp_seq=5 ttl=64 time=0.818 ms --- 192.168.30.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4009ms rtt min/avg/max/mdev = 0.729/0.942/1.549/0.305 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 | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 00031e3c-d83c-43eb-9ef7-055127a931cb | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.151; basic_18-datanet2=192.168.20.42; basic_18-datanet3=192.168.30.178; osm-ext=172.21.248.139 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | b9d50aed-ebe1-46d5-9c59-5de720e6eb97 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.233; basic_18-datanet2=192.168.20.176; basic_18-datanet3=192.168.30.22; osm-ext=172.21.249.102 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 00031e3c-d83c-43eb-9ef7-055127a931cb | basic_18-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 14eb5ce2-8625-477c-bf9f-a7911ae9bfd9 ${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} = 14eb5ce2-8625-477c-bf9f-a7911ae9bfd9 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 62eaba25-d71d-426c-9851-e1fcbb8bffc9 ${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} = 62eaba25-d71d-426c-9851-e1fcbb8bffc9 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} = 77f2f0b2-0878-44e1-a2e4-27ad431140f3 ${stdout} Logs the given message with the given level. 77f2f0b2-0878-44e1-a2e4-27ad431140f3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 77f2f0b2-0878-44e1-a2e4-27ad431140f3 ${ns_id} Logs the given message with the given level. 77f2f0b2-0878-44e1-a2e4-27ad431140f3 ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | 2024-04-15T23:32:20 | BUILDING | INSTANTIATING (82811beb-c0d2-43b0-87e8-6a09ebbd013b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | 2024-04-15T23:32:20 | BUILDING | INSTANTIATING (82811beb-c0d2-43b0-87e8-6a09ebbd013b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 71b772e7-2aa8-4579-be7e-ba3639d5b4e2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.53 | ubuntu20.04 | simple_requires-1-1-flv | | bdb1daac-4457-41d4-9c48-1f81c7046158 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.128; osm-ext=172.21.249.235 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${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 | 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | 2024-04-15T23:32:20 | BUILDING | INSTANTIATING (82811beb-c0d2-43b0-87e8-6a09ebbd013b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | 2024-04-15T23:32:20 | BUILDING | INSTANTIATING (82811beb-c0d2-43b0-87e8-6a09ebbd013b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 71b772e7-2aa8-4579-be7e-ba3639d5b4e2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.53 | ubuntu20.04 | simple_requires-1-1-flv | | bdb1daac-4457-41d4-9c48-1f81c7046158 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.128; osm-ext=172.21.249.235 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${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 | 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | 2024-04-15T23:32:20 | 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 | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 71b772e7-2aa8-4579-be7e-ba3639d5b4e2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.53 | ubuntu20.04 | simple_requires-1-1-flv | | bdb1daac-4457-41d4-9c48-1f81c7046158 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.128; osm-ext=172.21.249.235 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${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 | 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | 2024-04-15T23:32:20 | 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} = 77f2f0b2-0878-44e1-a2e4-27ad431140f3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 77f2f0b2-0878-44e1-a2e4-27ad431140f3 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 --ns ${ns_id} | 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 --ns 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | grep 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = f1e26a0c-4936-44f0-b41c-40d10456309a ${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} = [ f1e26a0c-4936-44f0-b41c-40d10456309a ] @{vnfr_list} = [ f1e26a0c-4936-44f0-b41c-40d10456309a ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: f1e26a0c-4936-44f0-b41c-40d10456309a ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = f1e26a0c-4936-44f0-b41c-40d10456309a ${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 77f2f0b2-0878-44e1-a2e4-27ad431140f3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.235 ${stdout} Logs the given message with the given level. 172.21.249.235 ${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.235 ${vnf_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf_ipmgmt} = 172.21.249.235 ${vnf_ipmgmt} Logs the given message with the given level. 172.21.249.235 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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show f1e26a0c-4936-44f0-b41c-40d10456309a --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.128 ${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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show f1e26a0c-4936-44f0-b41c-40d10456309a --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 192.168.200.53 ${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} = +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 71b772e7-2aa8-4579-be7e-ba3639d5b4e2 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.53 | ubuntu20.04 | simple_requires-1-1-flv | | bdb1daac-4457-41d4-9c48-1f81c7046158 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.128; osm-ext=172.21.249.235 | ubuntu20.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 37f706fc-1dae-493a-abe8-f0adfb20a1e0 ${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} = 37f706fc-1dae-493a-abe8-f0adfb20a1e0 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 e4594645-4ee9-4663-b300-2325f752e601 ${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} = e4594645-4ee9-4663-b300-2325f752e601 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} = d09234fb-b49c-423d-a935-17ad26899e88 ${stdout} Logs the given message with the given level. d09234fb-b49c-423d-a935-17ad26899e88 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d09234fb-b49c-423d-a935-17ad26899e88 ${ns_id} Logs the given message with the given level. d09234fb-b49c-423d-a935-17ad26899e88 ${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 | Na... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 5f9fb798-f1ec-4cac-bb6a-e4aecb0368cf | basic_13_ns_rela-vnf2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.29 | ubuntu18.04 | simple_requires-1-1-flv | | 8ab0fdde-3449-4efe-9a40-410552e31030 | basic_13_ns_rela-vnf1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.194 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f0f9f472-b01a-4d52-9dd6-748d9be93606 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.243 | ubuntu18.04 | simple_requires-1-1-flv | | 484b8b9c-80a7-4996-914f-a13c6f76d4ff | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.84 | ubuntu18.04 | simple_requires-1-1-flv | | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f0f9f472-b01a-4d52-9dd6-748d9be93606 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.243 | ubuntu18.04 | simple_requires-1-1-flv | | 484b8b9c-80a7-4996-914f-a13c6f76d4ff | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.84 | ubuntu18.04 | simple_requires-1-1-flv | | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | BUILDING | INSTANTIATING (da49f453-509c-43fb-a4c4-11f1f29fb788) | N/A | +----------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f0f9f472-b01a-4d52-9dd6-748d9be93606 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.243 | ubuntu18.04 | simple_requires-1-1-flv | | 484b8b9c-80a7-4996-914f-a13c6f76d4ff | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.84 | ubuntu18.04 | simple_requires-1-1-flv | | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | 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 | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f0f9f472-b01a-4d52-9dd6-748d9be93606 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.243 | ubuntu18.04 | simple_requires-1-1-flv | | 484b8b9c-80a7-4996-914f-a13c6f76d4ff | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.249.84 | ubuntu18.04 | simple_requires-1-1-flv | | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | d09234fb-b49c-423d-a935-17ad26899e88 | 2024-04-15T23:34:12 | 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} = d09234fb-b49c-423d-a935-17ad26899e88 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d09234fb-b49c-423d-a935-17ad26899e88 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 --ns ${ns_id} | 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 --ns d09234fb-b49c-423d-a935-17ad26899e88 | grep d09234fb-b49c-423d-a935-17ad26899e88 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 3296890e-7c69-4e26-81d0-faf2c3b0f32f ${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} = [ 3296890e-7c69-4e26-81d0-faf2c3b0f32f ] @{vnfr_list} = [ 3296890e-7c69-4e26-81d0-faf2c3b0f32f ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 3296890e-7c69-4e26-81d0-faf2c3b0f32f ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 3296890e-7c69-4e26-81d0-faf2c3b0f32f 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3296890e-7c69-4e26-81d0-faf2c3b0f32f --literal | yq -r .vdur[].name 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 -r ._admin.deployed.VCA[].application 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 -r ._admin.deployed.VCA[].application 2>&1'. ${rc} = 0 ${stdout} = simple-ee-z0-vnf-mgmtvm-z0-vdu simple-ee-z0-vnf-mgmtvm-z0-vdu ${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} = [ simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu ] @{name_list} = [ simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: simple-ee-z0-vnf-mgmtvm-z0-vdu 1: simple-ee-z0-vnf-mgmtvm-z0-vdu ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['simple-ee-z0-vnf-mgmtvm-z0-vdu', 'simple-ee-z0-vnf-mgmtvm-z0-vdu'] 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} = ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 --literal | yq -r .operationState 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} = ad10e2cd-7cf8-4cf0-ae06-1ad8ed22d621 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3296890e-7c69-4e26-81d0-faf2c3b0f32f --literal | yq -r .vdur[].name 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 -r ._admin.deployed.VCA[].application 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 -r ._admin.deployed.VCA[].application 2>&1'. ${rc} = 0 ${stdout} = simple-ee-z0-vnf-mgmtvm-z0-vdu simple-ee-z0-vnf-mgmtvm-z0-vdu simple-ee-z0-vnf-mgmtvm-z0-vdu ${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} = [ simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu ] @{name_list} = [ simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: simple-ee-z0-vnf-mgmtvm-z0-vdu 1: simple-ee-z0-vnf-mgmtvm-z0-vdu 2: simple-ee-z0-vnf-mgmtvm-z0-vdu ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['simple-ee-z0-vnf-mgmtvm-z0-vdu', 'simple-ee-z0-vnf-mgmtvm-z0-vdu', 'simple-ee-z0-vnf-mgmtvm-z0-vdu'] 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} = 1149b707-3938-4166-8c12-3c95a4bd2b74 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1149b707-3938-4166-8c12-3c95a4bd2b74 --literal | yq -r .operationState 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 1149b707-3938-4166-8c12-3c95a4bd2b74 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1149b707-3938-4166-8c12-3c95a4bd2b74 --literal | yq -r .operationState 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 1149b707-3938-4166-8c12-3c95a4bd2b74 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1149b707-3938-4166-8c12-3c95a4bd2b74 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1149b707-3938-4166-8c12-3c95a4bd2b74 --literal | yq -r .operationState 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} = 1149b707-3938-4166-8c12-3c95a4bd2b74 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3296890e-7c69-4e26-81d0-faf2c3b0f32f --literal | yq -r .vdur[].name 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 -r ._admin.deployed.VCA[].application 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 -r ._admin.deployed.VCA[].application 2>&1'. ${rc} = 0 ${stdout} = simple-ee-z0-vnf-mgmtvm-z0-vdu simple-ee-z0-vnf-mgmtvm-z0-vdu ${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} = [ simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu ] @{name_list} = [ simple-ee-z0-vnf-mgmtvm-z0-vdu | simple-ee-z0-vnf-mgmtvm-z0-vdu ] ${name_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: simple-ee-z0-vnf-mgmtvm-z0-vdu 1: simple-ee-z0-vnf-mgmtvm-z0-vdu ${application_list} ${name_list} Makes a variable available everywhere within the scope of the current suite. ${application_list} = ['simple-ee-z0-vnf-mgmtvm-z0-vdu', 'simple-ee-z0-vnf-mgmtvm-z0-vdu'] 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 | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | a996d91e-2f15-4f85-a7bd-b0ed72b9e1af | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.20 | ubuntu20.04 | simple_requires-1-1-flv | | 41a43299-2ac5-4696-a592-a81881c3811d | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.167 | ubuntu20.04 | simple_requires-1-1-flv | | 82a8d88e-a1e1-498b-a8e8-94760da65358 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.134.232; osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | f545ab51-77b8-410e-a9f2-d8d4aa6a8a61 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.134.36; osm-ext=172.21.248.110 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | a996d91e-2f15-4f85-a7bd-b0ed72b9e1af | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.20 | ubuntu20.04 | simple_requires-1-1-flv | | 41a43299-2ac5-4696-a592-a81881c3811d | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.167 | ubuntu20.04 | simple_requires-1-1-flv | | 82a8d88e-a1e1-498b-a8e8-94760da65358 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 9edca735-413b-48ed-ba7d-924e5d0c042b | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.198 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | a996d91e-2f15-4f85-a7bd-b0ed72b9e1af | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.20 | ubuntu20.04 | simple_requires-1-1-flv | | 41a43299-2ac5-4696-a592-a81881c3811d | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.167 | ubuntu20.04 | simple_requires-1-1-flv | | 82a8d88e-a1e1-498b-a8e8-94760da65358 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 77bc5a00-94e1-49ca-977f-c89f7521b4f0 ${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} = 77bc5a00-94e1-49ca-977f-c89f7521b4f0 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 3cf5f2a3-153d-4368-80ac-a155a836a2fe ${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} = 3cf5f2a3-153d-4368-80ac-a155a836a2fe 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} = 5a269407-a9be-4c17-af77-7b5742204183 ${stdout} Logs the given message with the given level. 5a269407-a9be-4c17-af77-7b5742204183 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 5a269407-a9be-4c17-af77-7b5742204183 ${ns_id} Logs the given message with the given level. 5a269407-a9be-4c17-af77-7b5742204183 ${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 | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ab4d6d0c-867e-4397-99b3-58c977695cc3 | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.248.27 | ubuntu20.04 | simple_requires-1-1-flv | | 81859f67-7a6b-4ffe-a755-018b4a9f06f0 | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.249.60 | ubuntu20.04 | simple_requires-1-1-flv | | a996d91e-2f15-4f85-a7bd-b0ed72b9e1af | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.20 | ubuntu20.04 | simple_requires-1-1-flv | | 41a43299-2ac5-4696-a592-a81881c3811d | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.167 | ubuntu20.04 | simple_requires-1-1-flv | | 82a8d88e-a1e1-498b-a8e8-94760da65358 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 5a269407-a9be-4c17-af77-7b5742204183 | 2024-04-15T23:43:00 | BUILDING | INSTANTIATING (a246614e-8929-407a-ba09-685afeb24c1f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 5a269407-a9be-4c17-af77-7b5742204183 | 2024-04-15T23:43:00 | BUILDING | INSTANTIATING (a246614e-8929-407a-ba09-685afeb24c1f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 7246f5e6-924d-4e70-b6db-0d0654ea64f1 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.107 | ubuntu20.04 | several_volumes-VM-flv | | a996d91e-2f15-4f85-a7bd-b0ed72b9e1af | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.249.20 | ubuntu20.04 | simple_requires-1-1-flv | | 41a43299-2ac5-4696-a592-a81881c3811d | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.167 | ubuntu20.04 | simple_requires-1-1-flv | | 82a8d88e-a1e1-498b-a8e8-94760da65358 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 5a269407-a9be-4c17-af77-7b5742204183 | 2024-04-15T23:43:00 | BUILDING | INSTANTIATING (a246614e-8929-407a-ba09-685afeb24c1f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 5a269407-a9be-4c17-af77-7b5742204183 | 2024-04-15T23:43:00 | BUILDING | INSTANTIATING (a246614e-8929-407a-ba09-685afeb24c1f) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 7246f5e6-924d-4e70-b6db-0d0654ea64f1 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.107 | ubuntu20.04 | several_volumes-VM-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${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 | 5a269407-a9be-4c17-af77-7b5742204183 | 2024-04-15T23:43: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} = +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 7246f5e6-924d-4e70-b6db-0d0654ea64f1 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.107 | ubuntu20.04 | several_volumes-VM-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${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 | 5a269407-a9be-4c17-af77-7b5742204183 | 2024-04-15T23:43: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} = 5a269407-a9be-4c17-af77-7b5742204183 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 5a269407-a9be-4c17-af77-7b5742204183 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 5a269407-a9be-4c17-af77-7b5742204183 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.107 ${stdout} Logs the given message with the given level. 172.21.248.107 ${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.107 ${ip_addr} Logs the given message with the given level. 172.21.248.107 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.107 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.248.107: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 Mon Apr 15 23:44:45 UTC 2024 System load: 0.24 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.107 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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | 77a294ac-eb73-434e-abfb-86f5b83808f0 | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 467b028b-8b4c-4e4f-8fde-603b5c7602ca | basic_18-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 7246f5e6-924d-4e70-b6db-0d0654ea64f1 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.107 | ubuntu20.04 | several_volumes-VM-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${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} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | 77a294ac-eb73-434e-abfb-86f5b83808f0 | basic_18-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 467b028b-8b4c-4e4f-8fde-603b5c7602ca | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.236; basic_18-datanet2=192.168.20.143; basic_18-datanet3=192.168.30.59; osm-ext=172.21.248.244 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ ${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: {'simple-requires.charm', 'sshproxy.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: {'simple-requires.charm', 'sshproxy.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 694ced7b-16ae-4ff3-b37b-622fcee89971 ${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} = 694ced7b-16ae-4ff3-b37b-622fcee89971 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 ce3208c0-6f32-46f1-a795-bf857c7d9c88 ${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} = ce3208c0-6f32-46f1-a795-bf857c7d9c88 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 2c158ade-882f-4b2d-aa8d-0f455a52ea0a ${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} = 2c158ade-882f-4b2d-aa8d-0f455a52ea0a 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} = 28d17407-3d9f-49b4-9b77-5d2c23581a39 ${stdout} Logs the given message with the given level. 28d17407-3d9f-49b4-9b77-5d2c23581a39 ${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 | 28d17407-3d9f-49b4-9b77-5d2c23581a39 | 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 | 28d17407-3d9f-49b4-9b77-5d2c23581a39 | 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 | "28d17407-3d9f-49b4-9b77-5d2c23581a39" | | 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 | | | Vm02SVliZ0c2M1l3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOVEEwTURFd016QXdNREZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXR5 | | | UDZiMmordHVINCtJTCsKRkt4YW5yMWNZUEJLdHp0UDIxSTVaNkhHWHBOdWJCS1lHTU52U0crVkd4REVYa3VSQk54ZFp2M1RteGpa | | | MWJDNQpyZTU5Z0duR2hPK1dKY0FrZDNudE9lMWpBSmNsM3Y0NmRxSisxVmJ2UDVSS09hQ2c1dzVmSFlxS25YSXpZTG80Cm9BRC9t | | | Vmh4WXplZzlJM2hWeUNhUFUrM3VkQ25NaXVsZnROd0VIWDEwaHFtb1R6eDJqSWdqVnB6eGl3WllRc08KVUpmRWdNV3gydkw5T0hG | | | TUwvWFIrb2VIc2RSWVpBZUkyRnF4VHJCcU45R2xLQ3h5S1ZPSkhEdFRPT1IzbDJKRgphRFlRbnlUYVVMNk9nRlBJQ1VTVitWUHdO | | | WG96UlN6Nkp2Tm5NWmpkTG41NjNXY3M1cEZwNjBETTlUMUMveE5pClFaUkRCUUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBSml0dEhjODRjVmJnanJSOEt1dUh0K01Qd2s5 | | | eTdWTG5MQ1BsCmM3ckV6eHg5RDEzS0QyeTN6NzlrRDNSOXNmMHVicWczUjI2cFdJNCtObkc4b0VsK2FmelovcTRHb0laRW0zWEIK | | | ZE1hRlJRcVk2U1JXWERUVHVjZEFxVmt4VG4rTVFSSUZrZXUycUxMU3RMeFk2V0dtMXEvTUFxQ3o0WkNFejBHOApXSXFnTlNpUzJY | | | SytjQkN4cUlDbnQ1ODFGYXRLaHZnRk5rTjhFTlJlQ2VVQUw1N2pOaGZQVS9MOVY2RTllMENYCldkTUFkSithYyt6UGJuUU1GcktJ | | | NkdoOEsxNHdIS2FTTDNjV29sQUxLcUVTc0JLU2hsV0J0MWMxcTROSzNCOWMKRWsyNURLYU53SUxHZkx6dU0wY2dsNVdZQ3lsTmFS | | | M2FpQmVtbGx4aUUrR1hxckd1c0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBdHlQNmIy | | | ait0dUg0K0lMK0ZLeGFucjFjWVBCS3R6dFAyMUk1WjZIR1hwTnViQktZCkdNTnZTRytWR3hERVhrdVJCTnhkWnYzVG14aloxYkM1 | | | cmU1OWdHbkdoTytXSmNBa2QzbnRPZTFqQUpjbDN2NDYKZHFKKzFWYnZQNVJLT2FDZzV3NWZIWXFLblhJellMbzRvQUQvbVZoeFl6 | | | ZWc5STNoVnlDYVBVKzN1ZENuTWl1bApmdE53RUhYMTBocW1vVHp4MmpJZ2pWcHp4aXdaWVFzT1VKZkVnTVd4MnZMOU9IRk1ML1hS | | | K29lSHNkUllaQWVJCjJGcXhUckJxTjlHbEtDeHlLVk9KSER0VE9PUjNsMkpGYURZUW55VGFVTDZPZ0ZQSUNVU1YrVlB3TlhvelJT | | | ejYKSnZObk1aamRMbjU2M1djczVwRnA2MERNOVQxQy94TmlRWlJEQlFJREFRQUJBb0lCQVFDTjlXVjZWbmlhYWk4Qwo4d2JnSDNs | | | ZThvbFkydW9QZmZvNGwxUEg4SzVEUVNTbXdRTUVydmpqdlJwbkVHZ21iNHpKcDhiK3ZtSDRKeHN6CmVQbDB5UmlmSVY2d1RNYW1I | | | SG9uNG1yd0xBSkJ3dWVvSW9oT3pVWmpPQy9icUthZ1pOSlVSOStTbG9FNzZmbkoKVUkvejl0SXBtMVRKQTZYUDZ1cHhEdVNBQWZy | | | NEhHU01CMllKSWN1MW9WQWN3azY2YVlFa2c0NElnSnVWTGo1Swp6Nnh2ZUNlU3libWkyUkZ0dXFpNVFMRGl0a2Zsdk9Wa3BGUVQ5 | | | a0FDeTRSZTJ6Q2pzTVFyVFljQzNzdnhqaDlHClJ2QjZYczdWSTE2ZFhTMytZKzE2aW5yT1kzT1BUU1BySG5RcFJwRWZXL2Q1VS9S | | | ZzZqR2M0ZUMxa1o3YzNtQk4KMk5zVWNRRkJBb0dCQU5BZmRSdEh4aHVjM1o1TmcvTXRwbDk2NGpRMDZnd3dZYVVNYTFlOXZKZjYy | | | RjFiMThMTwpZUUltRmxQYUlJaFFCTU10elNIa1ZHL0JYbEd3WjgyNFdvUnd6MXBCU2lvNkJhTW9pT2hrcmRvK1FicW5vZlZCCkZ0 | | | dE9OcU1TK0hyVlNNdTY1QWJnbllscDZ0RDZsQ0lkaU1saWJ2ak5FUTJrdWQyanJyZGhvMUh2QW9HQkFPRkYKU2RjaUlTUDBuakxy | | | OGF5ZFVCK2xXeDR4MHY2VFp5NTFuSnpiWm1Ma3FTS2FsbWkrQk9OTDNJbjJSd1BCa3pjdwppUGp1cHB2a2dSRWpyU3VLR1NwMGRN | | | VmpxVDZGb2dmYVRDVjBBN0RxZ3VuTHpjUVZka1grNTU5bk5uQ0dLb2poCkhJYmVncm1NRytsc3M3RHZJQUk5cFhwRnJ2V0JZNCsw | | | N1VwTE10NUxBb0dCQUpPekgzckN6eGRkbGZINGRRSXAKalg4SlNHdGdlaEU0YkxPalFySzhGcEdORmV2N2QvM3FWUElmY1kwRXFq | | | M1MrKzVBSE9wR2pwM1pEMFROK24wRwpya1o3Z013K3RaR09KOTRJc0ZDczBxeWxyaVAzUDNzOFBDcGJNVzg5MFZYcTg0U1NGNjNC | | | emt0cy9aWmRucTh2CllwbjQzMlIycy9tSXc5ZEZpSUxnS2ZYRkFvR0FBYVNkdTBIMmQrcXExTGcvMVFCNHV5SmJuY2JEUVRRV0Jw | | | SzUKQjdQWjlWS3hvUno3aDl3SzhSVjJrRk1KaFk5OTRXTXJQSldSQllZUEl1N2Rybm1kWVYva0VpUjk4WVRMLzc2cAoyNFFUR3RF | | | N0R6VjdWTGpMV2d0WDZTTzVrK3lHbHVUOWJrWmxNYkZCNnR2dUc1WkM1NEZIbWJLMGFmbjluZWkxCjZsck9EaTBDZ1lFQXhXdEhi | | | S0kzSURvbkw2ejZzajJPOUo2RXpwaDVaM3B6OXd0L1VYU1hQV3kwUzcxZ3BKWFUKVlp6cEtURzZVZ3RtMWhIUUtlVXN0WVBzdU9E | | | Rmx0YXl0eFBrYTY2ZG5yby8wTHFwOFBSRlNOMkhTdEk2YUROcAo2T3ltQzlDYUhSU3JNYjF0cnNvUmlOSjlPTUd4YW8zTmlmSk1C | | | K0tjcWh4VUJ0c0FiWmVqWUQwPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "fd3ed49f-821a-43c8-be92-577b7c5b0858" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713224722.4716372, | | | "modified": 1713224727.3076887, | | | "projects_read": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "projects_write": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713224722.4716613, | | | "statusEnteredTime": 1713224722.4716613, | | | "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": "28d17407-3d9f-49b4-9b77-5d2c23581a39", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "28d17407-3d9f-49b4-9b77-5d2c23581a39", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "28d17407-3d9f-49b4-9b77-5d2c23581a39", | | | "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 | 28d17407-3d9f-49b4-9b77-5d2c23581a39 | 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 | 28d17407-3d9f-49b4-9b77-5d2c23581a39 | 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} = 96a367c0-0c89-4c96-90fb-e6ab74f308e5 ${stdout} Logs the given message with the given level. 96a367c0-0c89-4c96-90fb-e6ab74f308e5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 96a367c0-0c89-4c96-90fb-e6ab74f308e5 ${ns_id} Logs the given message with the given level. 96a367c0-0c89-4c96-90fb-e6ab74f308e5 ${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 | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | 77a294ac-eb73-434e-abfb-86f5b83808f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.214; basic_18-datanet2=192.168.20.26; basic_18-datanet3=192.168.30.206; osm-ext=172.21.248.126 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 467b028b-8b4c-4e4f-8fde-603b5c7602ca | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.236; basic_18-datanet2=192.168.20.143; basic_18-datanet3=192.168.30.59; osm-ext=172.21.248.244 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 77a294ac-eb73-434e-abfb-86f5b83808f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.214; basic_18-datanet2=192.168.20.26; basic_18-datanet3=192.168.30.206; osm-ext=172.21.248.126 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 467b028b-8b4c-4e4f-8fde-603b5c7602ca | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.236; basic_18-datanet2=192.168.20.143; basic_18-datanet3=192.168.30.59; osm-ext=172.21.248.244 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 77a294ac-eb73-434e-abfb-86f5b83808f0 | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet3=192.168.30.206; osm-ext=172.21.248.126 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 467b028b-8b4c-4e4f-8fde-603b5c7602ca | basic_18-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.248.244 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a937d3ff-3264-46e3-b228-a23e22a6ee4f | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.62 | ubuntu20.04 | simple_requires-1-1-flv | | 017239d8-ccbc-44a2-8624-bc93854151db | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.6; osm-ext=172.21.249.232 | ubuntu20.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a937d3ff-3264-46e3-b228-a23e22a6ee4f | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.62 | ubuntu20.04 | simple_requires-1-1-flv | | 017239d8-ccbc-44a2-8624-bc93854151db | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.6; osm-ext=172.21.249.232 | ubuntu20.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | a937d3ff-3264-46e3-b228-a23e22a6ee4f | basic_19-vnf-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | BUILDING | INSTANTIATING (bd29ffd5-2069-4710-a9dc-3f6037255cfd) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | 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 | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 96a367c0-0c89-4c96-90fb-e6ab74f308e5 | 2024-04-15T23:45:59 | 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} = 96a367c0-0c89-4c96-90fb-e6ab74f308e5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 96a367c0-0c89-4c96-90fb-e6ab74f308e5 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 | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.249.154 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 7e269d6e-5ed4-4797-94d3-361a30407ce0 | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu18.04 | simple_requires-1-1-flv | | 2ea0befb-2126-4c30-a04b-b926452fe9bc | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.47 | ubuntu18.04 | simple_requires-1-1-flv | | c661be27-2ee0-4789-8c11-7d15109661f8 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.235 | ubuntu18.04 | simple_requires-1-1-flv | | 913cfeac-1d38-4605-a304-81d7e70a7008 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.248.147 | ubuntu18.04 | simple_requires-1-1-flv | | 7514a687-b36d-4a33-8a7f-93ed4e2a8701 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.197 | ubuntu18.04 | simple_requires-1-1-flv | | b5e2d80b-7191-4912-8285-af880c64172e | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.10 | ubuntu18.04 | simple_requires-1-1-flv | | a64fa925-73f0-4f83-ad52-72b55ec1b6c1 | basic_22-1-simple_requires-0 | ACTIVE | | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 15edbd0f-bc88-4557-951f-76f941e546f0 ${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} = 15edbd0f-bc88-4557-951f-76f941e546f0 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 5c4873... ${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 5c4873d0-43dc-41c0-84b6-acb6e92d91fe ${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} = 5c4873d0-43dc-41c0-84b6-acb6e92d91fe 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 5604f8b4-f60e-4037-a7e2-4f98199d2f19 ${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} = 5604f8b4-f60e-4037-a7e2-4f98199d2f19 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 0897eb80-e241-4242-b9ef-de23ecf5755f ${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} = 0897eb80-e241-4242-b9ef-de23ecf5755f 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} = 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 ${stdout} Logs the given message with the given level. 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 ${ns_id} Logs the given message with the given level. 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 ${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 | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 | 2024-04-15T23:53:59 | BUILDING | INSTANTIATING (4e614ba2-e937-42a8-9385-20723177db08) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 | 2024-04-15T23:53:59 | BUILDING | INSTANTIATING (4e614ba2-e937-42a8-9385-20723177db08) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 090e7cdb-59a1-4818-8ce9-e7812f6f0db5 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ed3d44ea-8ea2-4eda-ae25-034f634aced1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 | 2024-04-15T23:53:59 | BUILDING | INSTANTIATING (4e614ba2-e937-42a8-9385-20723177db08) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 | 2024-04-15T23:53:59 | BUILDING | INSTANTIATING (4e614ba2-e937-42a8-9385-20723177db08) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 090e7cdb-59a1-4818-8ce9-e7812f6f0db5 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ed3d44ea-8ea2-4eda-ae25-034f634aced1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 | 2024-04-15T23:53:59 | 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 | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 090e7cdb-59a1-4818-8ce9-e7812f6f0db5 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ed3d44ea-8ea2-4eda-ae25-034f634aced1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 | 2024-04-15T23:53:59 | 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} = 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 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 27ec6f96-dfd9-45f0-80ee-b67a7f7603e1 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 ${stdout} Logs the given message with the given level. 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 @{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 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 --literal | yq '.vdur[].id' 2>&1'. ${rc} = 0 ${stdout} = "cc069ae8-bd29-4e3d-b83f-9217b5edc255" "395ffef1-0a61-434a-ba7e-190f06ee7efb" ${stdout} Logs the given message with the given level. "cc069ae8-bd29-4e3d-b83f-9217b5edc255" "395ffef1-0a61-434a-ba7e-190f06ee7efb" ${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} = [ "cc069ae8-bd29-4e3d-b83f-9217b5edc255" | "395ffef1-0a61-434a-ba7e-190f06ee7efb" ] @{vdur_id_list} = [ "cc069ae8-bd29-4e3d-b83f-9217b5edc255" | "395ffef1-0a61-434a-ba7e-190f06ee7efb" ] ${vdur_id} @{vdur_id_list} "cc069ae8-bd29-4e3d-b83f-9217b5edc255" ${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 -r '."affinity-or-anti-affinity-group-id"[0]' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 --literal | yq '.vdur[] | select(.id == "'"cc069ae8-bd29-4e3d-b83f-9217b5edc255"'")' | yq -r '."affinity-or-anti-affinity-group-id"[0]' 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 -r '.name' 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 -r '.name' 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 -r '."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 --literal | yq '.vdur[] | select(.id == "'"cc069ae8-bd29-4e3d-b83f-9217b5edc255"'")' | yq -r '."vim-id"' 2>&1'. ${rc} = 0 ${vm_vim_id} = ed3d44ea-8ea2-4eda-ae25-034f634aced1 ${vm_vim_id} Logs the given message with the given level. ed3d44ea-8ea2-4eda-ae25-034f634aced1 ${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} = ed3d44ea-8ea2-4eda-ae25-034f634aced1 ${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} = ['090e7cdb-59a1-4818-8ce9-e7812f6f0db5', 'ed3d44ea-8ea2-4eda-ae25-034f634aced1'] ${stdout} Logs the given message with the given level. ['090e7cdb-59a1-4818-8ce9-e7812f6f0db5', 'ed3d44ea-8ea2-4eda-ae25-034f634aced1'] ${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. "395ffef1-0a61-434a-ba7e-190f06ee7efb" ${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 -r '."affinity-or-anti-affinity-group-id"[0]' 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 --literal | yq '.vdur[] | select(.id == "'"395ffef1-0a61-434a-ba7e-190f06ee7efb"'")' | yq -r '."affinity-or-anti-affinity-group-id"[0]' 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 -r '.name' 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 -r '.name' 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 -r '."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 4ba6a623-9b01-442f-bbfd-15db2a5e8d54 --literal | yq '.vdur[] | select(.id == "'"395ffef1-0a61-434a-ba7e-190f06ee7efb"'")' | yq -r '."vim-id"' 2>&1'. ${rc} = 0 ${vm_vim_id} = 090e7cdb-59a1-4818-8ce9-e7812f6f0db5 ${vm_vim_id} Logs the given message with the given level. 090e7cdb-59a1-4818-8ce9-e7812f6f0db5 ${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} = 090e7cdb-59a1-4818-8ce9-e7812f6f0db5 ${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} = ['090e7cdb-59a1-4818-8ce9-e7812f6f0db5', 'ed3d44ea-8ea2-4eda-ae25-034f634aced1'] ${stdout} Logs the given message with the given level. ['090e7cdb-59a1-4818-8ce9-e7812f6f0db5', 'ed3d44ea-8ea2-4eda-ae25-034f634aced1'] ${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 | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 090e7cdb-59a1-4818-8ce9-e7812f6f0db5 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | ed3d44ea-8ea2-4eda-ae25-034f634aced1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.50 | ubuntu20.04 | simple_requires-1-1-flv | | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 37a24fb6-1dee-47ef-a8c4-a8b3c613d62b ${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} = 37a24fb6-1dee-47ef-a8c4-a8b3c613d62b ${id} = 37a24fb6-1dee-47ef-a8c4-a8b3c613d62b ${vnfd_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfd_id} = 37a24fb6-1dee-47ef-a8c4-a8b3c613d62b 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 fd3b0dd0-9fe6-4d2d-a492-b31cd4b99dd6 ${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} = fd3b0dd0-9fe6-4d2d-a492-b31cd4b99dd6 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} = 74c67771-b597-47fd-bb2d-d229bbe9c5e4 ${stdout} Logs the given message with the given level. 74c67771-b597-47fd-bb2d-d229bbe9c5e4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 74c67771-b597-47fd-bb2d-d229bbe9c5e4 ${ns_id} Logs the given message with the given level. 74c67771-b597-47fd-bb2d-d229bbe9c5e4 ${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 | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9bd4c860-61f8-4012-944f-fbe25373ab6f | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.41; osm-ext=172.21.248.248 | ubuntu18.04 | simple_requires-1-1-flv | | 9314e9cf-c672-4c53-8122-ab2d33a7ca2f | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.147; osm-ext=172.21.249.175 | ubuntu18.04 | simple_requires-1-1-flv | | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9bd4c860-61f8-4012-944f-fbe25373ab6f | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.41; osm-ext=172.21.248.248 | ubuntu18.04 | simple_requires-1-1-flv | | 9314e9cf-c672-4c53-8122-ab2d33a7ca2f | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.147; osm-ext=172.21.249.175 | ubuntu18.04 | simple_requires-1-1-flv | | 4d742d44-5ef2-4666-b08a-f66e9fac90cc | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.164.194; osm-ext=172.21.249.177 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 9bd4c860-61f8-4012-944f-fbe25373ab6f | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.41; osm-ext=172.21.248.248 | ubuntu18.04 | simple_requires-1-1-flv | | 9314e9cf-c672-4c53-8122-ab2d33a7ca2f | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.147; osm-ext=172.21.249.175 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.164.188; osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.164.113; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | BUILDING | INSTANTIATING (474e097b-8683-498e-a723-22e024f238c1) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9bd4c860-61f8-4012-944f-fbe25373ab6f | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.41; osm-ext=172.21.248.248 | ubuntu18.04 | simple_requires-1-1-flv | | 9314e9cf-c672-4c53-8122-ab2d33a7ca2f | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.147; osm-ext=172.21.249.175 | ubuntu18.04 | simple_requires-1-1-flv | | 4df73756-576c-41c8-a0d9-7c9bd15b3c74 | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.234 | ubuntu18.04 | simple_requires-1-1-flv | | 2714f8b0-ceb5-4f59-a536-14ff8466fbe1 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9bd4c860-61f8-4012-944f-fbe25373ab6f | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.41; osm-ext=172.21.248.248 | ubuntu18.04 | simple_requires-1-1-flv | | 9314e9cf-c672-4c53-8122-ab2d33a7ca2f | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.147; osm-ext=172.21.249.175 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 2024-04-15T23:55:59 | 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} = 74c67771-b597-47fd-bb2d-d229bbe9c5e4 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 74c67771-b597-47fd-bb2d-d229bbe9c5e4 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 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e2a10300-c4ef-48d0-ac7a-db305113f5e3 ${stdout} Logs the given message with the given level. e2a10300-c4ef-48d0-ac7a-db305113f5e3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = e2a10300-c4ef-48d0-ac7a-db305113f5e3 ${id} Logs the given message with the given level. e2a10300-c4ef-48d0-ac7a-db305113f5e3 ${vnf_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = e2a10300-c4ef-48d0-ac7a-db305113f5e3 ${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: "e2a10300-c4ef-48d0-ac7a-db305113f5e3", vnfdId: "37a24fb6-1dee-47ef-a8c4-a8b3c613d62b"}]}' 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 74c67771-b597-47fd-bb2d-d229bbe9c5e4 | 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 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.175: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 Mon Apr 15 23:58:49 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.175 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.175: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 Mon Apr 15 23:58:51 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.175 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: Mon Apr 15 23:58:50 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} = 4fe95a64-e359-48be-99ce-a861bd76bba8 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4fe95a64-e359-48be-99ce-a861bd76bba8 --literal | yq -r .operationState 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 4fe95a64-e359-48be-99ce-a861bd76bba8 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4fe95a64-e359-48be-99ce-a861bd76bba8 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 4fe95a64-e359-48be-99ce-a861bd76bba8 --literal | yq -r .operationState 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} = 4fe95a64-e359-48be-99ce-a861bd76bba8 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.175: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 Mon Apr 15 23:59:12 UTC 2024 System load: 0.08 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.175 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: Mon Apr 15 23:58:51 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 74c67771-b597-47fd-bb2d-d229bbe9c5e4 --updatetype CHANGE_VNFPKG --config '{changeVnfPackageData: [{vnfInstanceId: "e2a10300-c4ef-48d0-ac7a-db305113f5e3", vnfdId: "37a24fb6-1dee-47ef-a8c4-a8b3c613d62b"}]}' --timeout 500 --wait 2>&1'. ${rc} = 0 ${stdout} = detailed-status: In progress detailed-status: Done 7e535248-a3d9-407f-b877-6b549b261ad4 ${stdout} Logs the given message with the given level. detailed-status: In progress detailed-status: Done 7e535248-a3d9-407f-b877-6b549b261ad4 ${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} = cad88936-b964-4e4d-8b76-52e49a5e5946 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cad88936-b964-4e4d-8b76-52e49a5e5946 --literal | yq -r .operationState 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 cad88936-b964-4e4d-8b76-52e49a5e5946 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cad88936-b964-4e4d-8b76-52e49a5e5946 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show cad88936-b964-4e4d-8b76-52e49a5e5946 --literal | yq -r .operationState 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} = cad88936-b964-4e4d-8b76-52e49a5e5946 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.175: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 Mon Apr 15 23:59:47 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.175 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: Mon Apr 15 23:59: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@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} = +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | acd73cbb-3cb3-4167-9d6a-f4553309182c | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | several_volumes-VM-flv | | 9bd4c860-61f8-4012-944f-fbe25373ab6f | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.41; osm-ext=172.21.248.248 | ubuntu18.04 | simple_requires-1-1-flv | | 9314e9cf-c672-4c53-8122-ab2d33a7ca2f | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.41.147; osm-ext=172.21.249.175 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | acd73cbb-3cb3-4167-9d6a-f4553309182c | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | several_volumes-VM-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${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. ${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/simple_ee_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/simple_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_ee_vnf Package created: /robot-systest/osm-packages/simple_ee_vnf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/simple_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_ee_vnf Package created: /robot-systest/osm-packages/simple_ee_vnf.tar.gz Uploading package /robot-systest/osm-packages/simple_ee_vnf.tar.gz f1132c60-e18c-4e66-bebb-aee92c3bd17d ${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} = f1132c60-e18c-4e66-bebb-aee92c3bd17d ${id} = f1132c60-e18c-4e66-bebb-aee92c3bd17d ${vnfd_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfd_id} = f1132c60-e18c-4e66-bebb-aee92c3bd17d basic_26 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/simple_ee_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/simple_ee_ns Validation OK List of charms in the descriptor: set() Adding File: simple_ee_ns Package created: /robot-systest/osm-packages/simple_ee_ns.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/simple_ee_ns Validation OK List of charms in the descriptor: set() Adding File: simple_ee_ns Package created: /robot-systest/osm-packages/simple_ee_ns.tar.gz 2bc7ecfa-55b2-4b6f-bcc6-fc1eee332f6c ${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} = 2bc7ecfa-55b2-4b6f-bcc6-fc1eee332f6c basic_26 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} = 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_26_secure_helm_ee_test --nsd_name simple_ee-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} = 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 ${stdout} Logs the given message with the given level. 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 ${ns_id} Logs the given message with the given level. 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ | acd73cbb-3cb3-4167-9d6a-f4553309182c | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.59 | ubuntu20.04 | several_volumes-VM-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+------------------------+ ${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_26_secure_helm_ee_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_26_secure_helm_ee_test | 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 | 2024-04-16T00:00:20 | BUILDING | INSTANTIATING (9656e0b7-9d73-463f-af24-13fea664aac0) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_26_secure_helm_ee_test | 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 | 2024-04-16T00:00:20 | BUILDING | INSTANTIATING (9656e0b7-9d73-463f-af24-13fea664aac0) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | a9a3140b-f835-4dc4-b120-d64af99196ee | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.149 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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_26_secure_helm_ee_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_26_secure_helm_ee_test | 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 | 2024-04-16T00:00:20 | BUILDING | INSTANTIATING (9656e0b7-9d73-463f-af24-13fea664aac0) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_26_secure_helm_ee_test | 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 | 2024-04-16T00:00:20 | BUILDING | INSTANTIATING (9656e0b7-9d73-463f-af24-13fea664aac0) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | a9a3140b-f835-4dc4-b120-d64af99196ee | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.149 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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_26_secure_helm_ee_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_26_secure_helm_ee_test | 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 | 2024-04-16T00:00:20 | 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | a9a3140b-f835-4dc4-b120-d64af99196ee | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.149 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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_26_secure_helm_ee_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_26_secure_helm_ee_test | 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 | 2024-04-16T00:00:20 | 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} = 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 basic_26 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 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=simple | grep 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.149 ${stdout} Logs the given message with the given level. 172.21.248.149 ${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.149 ${ip_addr} Logs the given message with the given level. 172.21.248.149 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.149 basic_26 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.248.149: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 Tue Apr 16 00:02:03 UTC 2024 System load: 0.36 Processes: 86 Usage of /: 5.9% of 19.21GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.149 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-26-secure--simple-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_26 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.248.149: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 Tue Apr 16 00:02:05 UTC 2024 System load: 0.33 Processes: 86 Usage of /: 5.9% of 19.21GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.149 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: Tue Apr 16 00:02:04 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-26-secure--simple-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'> Check whether the file created in the previous test via Day 1 operations exist or not. basic_26 cluster_ee_config daily regression ${osm_host} Opens a new SSH connection to the given ``host`` and ``port``. ${osm_username} keyfile=${osm_privatekey} Logs into the SSH server using key-based authentication. Logging into '172.21.249.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:02:07 UTC 2024 System load: 1.36572265625 Users logged in: 0 Usage of /: 23.3% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 47% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 472 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Mon Apr 15 23:15:31 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${pod} ${osm_host} ${osm_username} ${osm_password} ${osm_privatekey} kubectl get pod -n ${ns_id} --no-headers -o custom-columns=":metadata.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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:02:07 UTC 2024 System load: 1.36572265625 Users logged in: 0 Usage of /: 23.3% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 47% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 472 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Tue Apr 16 00:02:09 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'kubectl get pod -n 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 --no-headers -o custom-columns=":metadata.name"'. Command exited with return code 0. ${stdout} = eechart-0035791013-0 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. eechart-0035791013-0 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${pod} = eechart-0035791013-0 ${svc} ${osm_host} ${osm_username} ${osm_password} ${osm_privatekey} kubectl get svc -n ${ns_id} -l app.kubernetes.io/name=eechart -o jsonpath='{.items[0].spec.clusterIP}' ${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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:02:07 UTC 2024 System load: 1.36572265625 Users logged in: 0 Usage of /: 23.3% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 47% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 472 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Tue Apr 16 00:02:10 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'kubectl get svc -n 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 -l app.kubernetes.io/name=eechart -o jsonpath='{.items[0].spec.clusterIP}''. Command exited with return code 0. ${stdout} = 10.110.32.76 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 10.110.32.76 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${svc} = 10.110.32.76 ${pod_name} ${pod} Makes a variable available everywhere within the scope of the current suite. ${pod_name} = eechart-0035791013-0 ${svc_ip} ${svc} Makes a variable available everywhere within the scope of the current suite. ${svc_ip} = 10.110.32.76 basic_26 cluster_ee_config daily regression ${command} python3 osm_ee/frontend_client.py ${svc_ip} 50050 sleep Catenates the given items together and returns the resulted string. ${command} = python3 osm_ee/frontend_client.py 10.110.32.76 50050 sleep ${result} ${osm_host} ${osm_username} ${osm_password} ${osm_privatekey} kubectl exec -it -n ${ns_id} ${pod_name} -- ${command} ${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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:02:07 UTC 2024 System load: 1.36572265625 Users logged in: 0 Usage of /: 23.3% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 47% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 472 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Tue Apr 16 00:02:12 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'kubectl exec -it -n 32ffea4a-13dc-4a3e-9be2-048cb5b52a77 eechart-0035791013-0 -- python3 osm_ee/frontend_client.py 10.110.32.76 50050 sleep'. Command exited with return code 0. ${stdout} = sleep Execute primitive sleep, params: None Error executing primitive sleep: Connection lost ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. sleep Execute primitive sleep, params: None Error executing primitive sleep: Connection lost Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${result} = sleep Execute primitive sleep, params: None Error executing primitive sleep: Connection lost ${result} Connection lost Fails if ``container`` does not contain ``item`` one or more times. basic_26 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_26_secure_helm_ee_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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | a9a3140b-f835-4dc4-b120-d64af99196ee | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.149 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_26_secure_helm_ee_test 2>&1'. ${rc} = 0 ${stdout} = basic_26_secure_helm_ee_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_26_secure_helm_ee_test == basic_26_secure_helm_ee_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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_26_secure_helm_ee_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_26 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 simple_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 simple_ee-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_26 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 simple_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 simple_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. basic_26 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-26] Secure connection to helm execution environments. ${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/simple_ee_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/simple_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_ee_vnf Package created: /robot-systest/osm-packages/simple_ee_vnf... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/simple_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: simple_ee_vnf Package created: /robot-systest/osm-packages/simple_ee_vnf.tar.gz Uploading package /robot-systest/osm-packages/simple_ee_vnf.tar.gz bd0b7741-46d3-4514-9848-50e3d56b3e1a ${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} = bd0b7741-46d3-4514-9848-50e3d56b3e1a ${id} = bd0b7741-46d3-4514-9848-50e3d56b3e1a ${vnfd_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfd_id} = bd0b7741-46d3-4514-9848-50e3d56b3e1a basic_27 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/simple_ee_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/simple_ee_ns Validation OK List of charms in the descriptor: set() Adding File: simple_ee_ns Package created: /robot-systest/osm-packages/simple_ee_ns.ta... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/simple_ee_ns Validation OK List of charms in the descriptor: set() Adding File: simple_ee_ns Package created: /robot-systest/osm-packages/simple_ee_ns.tar.gz 22ae597a-5a89-4d78-8725-e901d388bbf5 ${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} = 22ae597a-5a89-4d78-8725-e901d388bbf5 basic_27 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_27_helm_ee_update_test --nsd_name simple_ee-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} = 90f194b0-dbb0-412e-871b-fe56aafaf4b5 ${stdout} Logs the given message with the given level. 90f194b0-dbb0-412e-871b-fe56aafaf4b5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 90f194b0-dbb0-412e-871b-fe56aafaf4b5 ${ns_id} Logs the given message with the given level. 90f194b0-dbb0-412e-871b-fe56aafaf4b5 ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_27_helm_ee_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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02:48 | BUILDING | INSTANTIATING (8340d125-5960-4623-bb6b-494a8b4d755c) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02:48 | BUILDING | INSTANTIATING (8340d125-5960-4623-bb6b-494a8b4d755c) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 26884ab9-47d8-4d18-8ae7-99d3e0476f04 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_27_helm_ee_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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02:48 | BUILDING | INSTANTIATING (8340d125-5960-4623-bb6b-494a8b4d755c) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02:48 | BUILDING | INSTANTIATING (8340d125-5960-4623-bb6b-494a8b4d755c) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 26884ab9-47d8-4d18-8ae7-99d3e0476f04 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_27_helm_ee_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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02:48 | BUILDING | INSTANTIATING (8340d125-5960-4623-bb6b-494a8b4d755c) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02:48 | BUILDING | INSTANTIATING (8340d125-5960-4623-bb6b-494a8b4d755c) | N/A | +------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 26884ab9-47d8-4d18-8ae7-99d3e0476f04 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_27_helm_ee_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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02: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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 26884ab9-47d8-4d18-8ae7-99d3e0476f04 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_27_helm_ee_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_27_helm_ee_update_test | 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 2024-04-16T00:02: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} = 90f194b0-dbb0-412e-871b-fe56aafaf4b5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 90f194b0-dbb0-412e-871b-fe56aafaf4b5 basic_27 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 6 ${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=simple | grep 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = c024609e-a639-45f6-93c0-2a490dded260 ${stdout} Logs the given message with the given level. c024609e-a639-45f6-93c0-2a490dded260 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = c024609e-a639-45f6-93c0-2a490dded260 ${id} Logs the given message with the given level. c024609e-a639-45f6-93c0-2a490dded260 ${vnf_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = c024609e-a639-45f6-93c0-2a490dded260 ${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: "c024609e-a639-45f6-93c0-2a490dded260", vnfdId: "bd0b7741-46d3-4514-9848-50e3d56b3e1a"}]}' basic_27 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 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=simple | grep 90f194b0-dbb0-412e-871b-fe56aafaf4b5 | 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_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.103 basic_27 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.103: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 Tue Apr 16 00:05:06 UTC 2024 System load: 0.11 Processes: 87 Usage of /: 5.9% of 19.21GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.103 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-27-helm-ee-simple-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_27 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.103: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 Tue Apr 16 00:05:08 UTC 2024 System load: 0.1 Processes: 87 Usage of /: 5.9% of 19.21GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.103 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: Tue Apr 16 00:05:06 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-27-helm-ee-simple-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 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_27 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} file-path=${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} file-path=/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} = file-path=/home/ubuntu/mytouch1 ${param_name} = file-path ${param_value} = /home/ubuntu/mytouch1 ${params} SEPARATOR= ${params} "${param_name}":"${param_value}", Catenates the given items together and returns the resulted string. ${params} = "file-path":"/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 simple ${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 simple --params '{"file-path":"/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 simple --params '{"file-path":"/home/ubuntu/mytouch1",}' basic_27_helm_ee_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 simple --params '{"file-path":"/home/ubuntu/mytouch1",}' basic_27_helm_ee_update_test 2>&1'. ${rc} = 0 ${stdout} = e14722fb-2f84-4c70-b5c1-0562d7c9cc6f ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e14722fb-2f84-4c70-b5c1-0562d7c9cc6f --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e14722fb-2f84-4c70-b5c1-0562d7c9cc6f --literal | yq -r .operationState 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} = e14722fb-2f84-4c70-b5c1-0562d7c9cc6f Performs one Day 2 operation on the VNF that creates a new file. basic_27 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.103: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 Tue Apr 16 00:05:14 UTC 2024 System load: 0.09 Processes: 87 Usage of /: 5.9% of 19.21GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.103 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: Tue Apr 16 00:05:08 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-27-helm-ee-simple-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_27 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/updated_simple_ee_vnf' simple_ee-vnf 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/updated_simple_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: updated_simple_ee_vnf Package created: /robot-systest/osm-packag... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/updated_simple_ee_vnf Validation OK List of charms in the descriptor: set() Adding File: updated_simple_ee_vnf Package created: /robot-systest/osm-packages/updated_simple_ee_vnf.tar.gz Uploading package /robot-systest/osm-packages/updated_simple_ee_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 EE which has new day2 operation. basic_27 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 90f194b0-dbb0-412e-871b-fe56aafaf4b5 --updatetype CHANGE_VNFPKG --config '{changeVnfPackageData: [{vnfInstanceId: "c024609e-a639-45f6-93c0-2a490dded260", vnfdId: "bd0b7741-46d3-4514-9848-50e3d56b3e1a"}]}' --timeout 500 --wait 2>&1'. ${rc} = 0 ${stdout} = detailed-status: In progress detailed-status: Done 58016112-94ce-4727-8a97-422d6fc892c6 ${stdout} Logs the given message with the given level. detailed-status: In progress detailed-status: Done 58016112-94ce-4727-8a97-422d6fc892c6 ${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 Helm EE, this operation will trigger the upgrade of existing Helm EE for the specific VNF. basic_27 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 simple ${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 simple --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 simple --params '{"foldername":"/home/ubuntu/myfolder1",}' basic_27_helm_ee_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 simple --params '{"foldername":"/home/ubuntu/myfolder1",}' basic_27_helm_ee_update_test 2>&1'. ${rc} = 0 ${stdout} = 2205e7f5-6437-4ba7-86d9-a79d77744d3b ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2205e7f5-6437-4ba7-86d9-a79d77744d3b --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2205e7f5-6437-4ba7-86d9-a79d77744d3b --literal | yq -r .operationState 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} = 2205e7f5-6437-4ba7-86d9-a79d77744d3b Performs one Day 2 operation on the updated VNF that creates a new folder. basic_27 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.103: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 Tue Apr 16 00:06:39 UTC 2024 System load: 0.02 Processes: 89 Usage of /: 5.9% of 19.21GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.103 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: Tue Apr 16 00:05:14 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-27-helm-ee-simple-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_27 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_27_helm_ee_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 | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 26884ab9-47d8-4d18-8ae7-99d3e0476f04 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.103 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_27_helm_ee_update_test 2>&1'. ${rc} = 0 ${stdout} = basic_27_helm_ee_update_test ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_27_helm_ee_update_test == basic_27_helm_ee_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 | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_27_helm_ee_update_test 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_27 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 simple_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 simple_ee-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_27 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 simple_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 simple_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. basic_27 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-27] Update Helm EE 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/keep_persistent_volume_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/keep_persistent_volume_vnf Validation OK List of charms in the descriptor: set() Adding File: keep_persistent_volume_vnf Package created: /robot-systest/... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/keep_persistent_volume_vnf Validation OK List of charms in the descriptor: set() Adding File: keep_persistent_volume_vnf Package created: /robot-systest/osm-packages/keep_persistent_volume_vnf.tar.gz Uploading package /robot-systest/osm-packages/keep_persistent_volume_vnf.tar.gz 35af0527-203d-441b-9b85-54ad7254c85f ${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} = 35af0527-203d-441b-9b85-54ad7254c85f basic_28 cluster_main daily '%{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/keep_persistent_volume_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/keep_persistent_volume_ns Validation OK List of charms in the descriptor: set() Adding File: keep_persistent_volume_ns Package created: /robot-systest/os... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/keep_persistent_volume_ns Validation OK List of charms in the descriptor: set() Adding File: keep_persistent_volume_ns Package created: /robot-systest/osm-packages/keep_persistent_volume_ns.tar.gz 22de661c-b1d3-4076-846e-493b7502e009 ${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} = 22de661c-b1d3-4076-846e-493b7502e009 basic_28 cluster_main daily ${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_28 --nsd_name persistent_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} = cbcd2da4-8eba-423a-ba77-941b260ec114 ${stdout} Logs the given message with the given level. cbcd2da4-8eba-423a-ba77-941b260ec114 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = cbcd2da4-8eba-423a-ba77-941b260ec114 ${ns_id} Logs the given message with the given level. cbcd2da4-8eba-423a-ba77-941b260ec114 ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ | 4fca26ed-788d-4092-abf3-eeeb5cac206a | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.196 | ubuntu18.04 | simple_requires-1-1-flv | | a27e2a81-da3e-47ba-9155-aa8463ebc2ab | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.249.64 | ubuntu18.04 | simple_requires-1-1-flv | | 469a6fb7-1614-44ab-827b-6eac467e1ab1 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.135 | ubuntu18.04 | simple_requires-1-1-flv | | eca79dbd-e483-4c14-8b2a-f9b45c028c64 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.163 | ubuntu18.04 | simple_requires-1-1-flv | | ff470431-fdff-4812-90f5-e63a717617d3 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.249.229 | ubuntu18.04 | simple_requires-1-1-flv | | 8899f4d6-57c1-4a83-8596-ba75908c7188 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.225 | ubuntu18.04 | simple_requires-1-1-flv | | 937338e5-7a03-49eb-ad92-4f4116978d04 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.136 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+-------------------------+ ${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_28" 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_28 | cbcd2da4-8eba-423a-ba77-941b260ec114 | 2024-04-16T00:07:15 | BUILDING | INSTANTIATING (03a1cd61-a14d-4378-a62c-076611e3bcad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_28 | cbcd2da4-8eba-423a-ba77-941b260ec114 | 2024-04-16T00:07:15 | BUILDING | INSTANTIATING (03a1cd61-a14d-4378-a62c-076611e3bcad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 044b8fdf-460b-4aea-bb7e-21d4c47af617 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28" 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_28 | cbcd2da4-8eba-423a-ba77-941b260ec114 | 2024-04-16T00:07:15 | BUILDING | INSTANTIATING (03a1cd61-a14d-4378-a62c-076611e3bcad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_28 | cbcd2da4-8eba-423a-ba77-941b260ec114 | 2024-04-16T00:07:15 | BUILDING | INSTANTIATING (03a1cd61-a14d-4378-a62c-076611e3bcad) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 044b8fdf-460b-4aea-bb7e-21d4c47af617 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.105 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28" 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_28 | cbcd2da4-8eba-423a-ba77-941b260ec114 | 2024-04-16T00:07: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} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 044b8fdf-460b-4aea-bb7e-21d4c47af617 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.105 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28" 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_28 | cbcd2da4-8eba-423a-ba77-941b260ec114 | 2024-04-16T00:07: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} = cbcd2da4-8eba-423a-ba77-941b260ec114 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = cbcd2da4-8eba-423a-ba77-941b260ec114 basic_28 cluster_main daily ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${volume_match} ${ns_id} Sets the root volume ID and ordinary volume ID by checking bootable property of volumes ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${vnfs_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns cbcd2da4-8eba-423a-ba77-941b260ec114 | grep cbcd2da4-8eba-423a-ba77-941b260ec114 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 47467a74-56fb-4e5d-a992-d46c5330bff1 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 47467a74-56fb-4e5d-a992-d46c5330bff1 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 47467a74-56fb-4e5d-a992-d46c5330bff1 ${vnfs_list} = ['47467a74-56fb-4e5d-a992-d46c5330bff1'] ${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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 47467a74-56fb-4e5d-a992-d46c5330bff1 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 044b8fdf-460b-4aea-bb7e-21d4c47af617 ${stdout} Logs the given message with the given level. 044b8fdf-460b-4aea-bb7e-21d4c47af617 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vim_id} = 044b8fdf-460b-4aea-bb7e-21d4c47af617 ${volumes_attached} ${vim_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 044b8fdf-460b-4aea-bb7e-21d4c47af617 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, ... ${stdout} Logs the given message with the given level. [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, {'device': None, 'id': '41abef0e-ece6-4519-b8cc-c49af29ef9fd', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, ... ${volumes_attached} Logs the given message with the given level. [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, {'device': None, 'id': '41abef0e-ece6-4519-b8cc-c49af29ef9fd', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${stdout} = ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${stdout} Logs the given message with the given level. ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${volume_match} = ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${volume_match} Makes a variable available everywhere within the scope of the current suite. ${volume_match} = ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${volume_counts} ${volume_match} Returns and logs the length of the given item as an integer. Length is 2 ${volume_counts} = 2 ${volume_counts} Makes a variable available everywhere within the scope of the current suite. ${volume_counts} = 2 ${volume_counts} != 2 Fail msg=There were not 2 volumes attached to VM Runs the given keyword with the given arguments, if ``condition`` is true. basic_28 cluster_main daily ${volume_match} msg=NS is not available Fails unless the given variable exists within the current scope. ${volume_match} 0 Sets the root volume ID and ordinary volume ID by checking bootable property of volumes ${volume_match} ${index} Verifies that the given item is not empty. Length is 2 ${bootable} ${volume_match}[${index}] Check the volume properties and return whether it is bootable or not. ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume show ${volume_id} | grep bootable | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'openstack volume show 3185b2d8-2018-4a17-8021-74dbb23036cb | grep bootable | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = true ${stdout} Logs the given message with the given level. true ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${bootable} = true ${bootable} Makes a variable available everywhere within the scope of the current suite. ${bootable} = true ${root_vol_id} ${volume_match}[${index}] Makes a variable available everywhere within the scope of the current suite. ${root_vol_id} = 3185b2d8-2018-4a17-8021-74dbb23036cb ${ordinary_vol_id} ${volume_match}[1] Makes a variable available everywhere within the scope of the current suite. ${ordinary_vol_id} = 41abef0e-ece6-4519-b8cc-c49af29ef9fd ${ordinary_vol_id} ${volume_match}[0] Makes a variable available everywhere within the scope of the current suite. ${volume_match} 1 Sets the root volume ID and ordinary volume ID by checking bootable property of volumes ${volume_match} ${index} Verifies that the given item is not empty. Length is 2 ${bootable} ${volume_match}[${index}] Check the volume properties and return whether it is bootable or not. ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume show ${volume_id} | grep bootable | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'openstack volume show 41abef0e-ece6-4519-b8cc-c49af29ef9fd | grep bootable | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = false ${stdout} Logs the given message with the given level. false ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${bootable} = false ${bootable} Makes a variable available everywhere within the scope of the current suite. ${bootable} = false ${root_vol_id} ${volume_match}[${index}] Makes a variable available everywhere within the scope of the current suite. ${ordinary_vol_id} ${volume_match}[1] Makes a variable available everywhere within the scope of the current suite. ${ordinary_vol_id} ${volume_match}[0] Makes a variable available everywhere within the scope of the current suite. basic_28 cluster_main daily ${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_28 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 044b8fdf-460b-4aea-bb7e-21d4c47af617 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.105 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28 2>&1'. ${rc} = 0 ${stdout} = basic_28 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_28 == basic_28 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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_28 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_28 cleanup cluster_main daily ${root_vol_id} msg=Root volume is not available Fails unless the given variable exists within the current scope. ${root_vol_exists} ${root_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 3185b2d8-2018-4a17-8021-74dbb23036cb | 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'> ${root_vol_exists} = 1 ${root_vol_exists} Logs the given message with the given level. 1 msg=Persistent root volume was deleted Fails the test with the given message and optionally alters its tags. ${root_vol_id} ${EMPTY} Makes a variable available everywhere within the scope of the current suite. Persistent root volume still exists Logs the given message with the given level. Persistent root volume still exists basic_28 cluster_main daily ${ordinary_vol_id} msg=Ordinary persistent volume is not available Fails unless the given variable exists within the current scope. ${ordinary_vol_exists} ${ordinary_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 41abef0e-ece6-4519-b8cc-c49af29ef9fd | 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'> ${ordinary_vol_exists} = 1 ${ordinary_vol_exists} Logs the given message with the given level. 1 msg=Persistent ordinary volume was deleted Fails the test with the given message and optionally alters its tags. ${ordinary_vol_id} ${EMPTY} Makes a variable available everywhere within the scope of the current suite. Persistent ordinary volume still exists Logs the given message with the given level. Persistent ordinary volume still exists basic_28 cluster_main daily ${ns_config_with_vim_id} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ], vnf: [ {member-vnf-index: ${vnf_member_index}, vdu: [ {id: ${vdu_id}, volume: [{"name": ${root_disk}, vim-volume-id: ${root_vol_id}}, {"name": ${ordinary_disk}, vim-volume-id: ${ordinary_vol_id}}] } ] } ] } Makes a variable available everywhere within the scope of the current suite. ${ns_config_with_vim_id} = {vld: [ {name: mgmtnet, vim-network-name: osm-ext} ], vnf: [ {member-vnf-index: vnf-persistent-volumes, vdu: [ {id: keep-persistent-vol-VM, volume: [{"name": root-volume, vim-volume-id: 3185b2d8-2018-... basic_28 cluster_main daily ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config_with_vim_id} ${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} ], vnf: [ {member-vnf-index: vnf-persistent-volumes, vdu: [ {id: keep-persistent-vol-VM, volume: [{"name": root-volume, vim-volume-id: 3185... ${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_28 --nsd_name persistent_volumes-ns --vim_account osm --config '{vld: [ {name: mgmtnet, vim-network-name: osm-ext} ], vnf: [ {member-vnf-index: vnf-persistent-volumes, vdu: [ {id: keep-persistent-vol-VM, volume: [{"name": root-volume, vim-volume-id: 3185b2d8-2018-4a17-8021-74dbb23036cb}, {"name": persistent-volume, vim-volume-id: 41abef0e-ece6-4519-b8cc-c49af29ef9fd}] } ] } ] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 70913d2e-90a8-47e1-8926-9c17d3057850 ${stdout} Logs the given message with the given level. 70913d2e-90a8-47e1-8926-9c17d3057850 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 70913d2e-90a8-47e1-8926-9c17d3057850 ${ns_id} Logs the given message with the given level. 70913d2e-90a8-47e1-8926-9c17d3057850 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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_28" 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_28 | 70913d2e-90a8-47e1-8926-9c17d3057850 | 2024-04-16T00:09:05 | BUILDING | INSTANTIATING (cc942cea-435e-4805-b444-01a4b6dc47fc) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_28 | 70913d2e-90a8-47e1-8926-9c17d3057850 | 2024-04-16T00:09:05 | BUILDING | INSTANTIATING (cc942cea-435e-4805-b444-01a4b6dc47fc) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 2230a4a8-1d58-4a53-877f-99e0d47b2652 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.46 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28" 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_28 | 70913d2e-90a8-47e1-8926-9c17d3057850 | 2024-04-16T00:09:05 | BUILDING | INSTANTIATING (cc942cea-435e-4805-b444-01a4b6dc47fc) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_28 | 70913d2e-90a8-47e1-8926-9c17d3057850 | 2024-04-16T00:09:05 | BUILDING | INSTANTIATING (cc942cea-435e-4805-b444-01a4b6dc47fc) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 152aeff3-8c35-4624-ab95-355eccf27c96 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.38 | ubuntu20.04 | simple_requires-1-1-flv | | bf40147f-4159-46ea-9bff-3b78c09e8de1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 2230a4a8-1d58-4a53-877f-99e0d47b2652 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.46 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28" 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_28 | 70913d2e-90a8-47e1-8926-9c17d3057850 | 2024-04-16T00:09: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} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 152aeff3-8c35-4624-ab95-355eccf27c96 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.38 | ubuntu20.04 | simple_requires-1-1-flv | | bf40147f-4159-46ea-9bff-3b78c09e8de1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 2230a4a8-1d58-4a53-877f-99e0d47b2652 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.46 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28" 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_28 | 70913d2e-90a8-47e1-8926-9c17d3057850 | 2024-04-16T00:09: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} = 70913d2e-90a8-47e1-8926-9c17d3057850 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 70913d2e-90a8-47e1-8926-9c17d3057850 basic_28 cluster_main daily ${prev_root_vol_id} ${root_vol_id} Makes a variable available everywhere within the scope of the current suite. ${prev_root_vol_id} = 3185b2d8-2018-4a17-8021-74dbb23036cb ${prev_ordinary_vol_id} ${ordinary_vol_id} Makes a variable available everywhere within the scope of the current suite. ${prev_ordinary_vol_id} = 41abef0e-ece6-4519-b8cc-c49af29ef9fd ${volume_match} ${ns_id} Sets the root volume ID and ordinary volume ID by checking bootable property of volumes ${ns_id} msg=NS is not available Fails unless the given variable exists within the current scope. ${vnfs_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns 70913d2e-90a8-47e1-8926-9c17d3057850 | grep 70913d2e-90a8-47e1-8926-9c17d3057850 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | c1b67f42-0d90-4328-b261-1f2c43a94537 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ c1b67f42-0d90-4328-b261-1f2c43a94537 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: c1b67f42-0d90-4328-b261-1f2c43a94537 ${vnfs_list} = ['c1b67f42-0d90-4328-b261-1f2c43a94537'] ${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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c1b67f42-0d90-4328-b261-1f2c43a94537 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 2230a4a8-1d58-4a53-877f-99e0d47b2652 ${stdout} Logs the given message with the given level. 2230a4a8-1d58-4a53-877f-99e0d47b2652 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vim_id} = 2230a4a8-1d58-4a53-877f-99e0d47b2652 ${volumes_attached} ${vim_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 2230a4a8-1d58-4a53-877f-99e0d47b2652 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, ... ${stdout} Logs the given message with the given level. [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, {'device': None, 'id': '41abef0e-ece6-4519-b8cc-c49af29ef9fd', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, ... ${volumes_attached} Logs the given message with the given level. [{'device': None, 'id': '3185b2d8-2018-4a17-8021-74dbb23036cb', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}, {'device': None, 'id': '41abef0e-ece6-4519-b8cc-c49af29ef9fd', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${stdout} = ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${stdout} Logs the given message with the given level. ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${volume_match} = ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${volume_match} Makes a variable available everywhere within the scope of the current suite. ${volume_match} = ['3185b2d8-2018-4a17-8021-74dbb23036cb', '41abef0e-ece6-4519-b8cc-c49af29ef9fd'] ${volume_match} 0 Sets the root volume ID and ordinary volume ID by checking bootable property of volumes ${volume_match} ${index} Verifies that the given item is not empty. Length is 2 ${bootable} ${volume_match}[${index}] Check the volume properties and return whether it is bootable or not. ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume show ${volume_id} | grep bootable | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'openstack volume show 3185b2d8-2018-4a17-8021-74dbb23036cb | grep bootable | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = true ${stdout} Logs the given message with the given level. true ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${bootable} = true ${bootable} Makes a variable available everywhere within the scope of the current suite. ${bootable} = true ${root_vol_id} ${volume_match}[${index}] Makes a variable available everywhere within the scope of the current suite. ${root_vol_id} = 3185b2d8-2018-4a17-8021-74dbb23036cb ${ordinary_vol_id} ${volume_match}[1] Makes a variable available everywhere within the scope of the current suite. ${ordinary_vol_id} = 41abef0e-ece6-4519-b8cc-c49af29ef9fd ${ordinary_vol_id} ${volume_match}[0] Makes a variable available everywhere within the scope of the current suite. ${volume_match} 1 Sets the root volume ID and ordinary volume ID by checking bootable property of volumes ${volume_match} ${index} Verifies that the given item is not empty. Length is 2 ${bootable} ${volume_match}[${index}] Check the volume properties and return whether it is bootable or not. ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume show ${volume_id} | grep bootable | awk '{print $4}' Runs the given command in the system and returns the RC and output. Running command 'openstack volume show 41abef0e-ece6-4519-b8cc-c49af29ef9fd | grep bootable | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = false ${stdout} Logs the given message with the given level. false ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${bootable} = false ${bootable} Makes a variable available everywhere within the scope of the current suite. ${bootable} = false ${root_vol_id} ${volume_match}[${index}] Makes a variable available everywhere within the scope of the current suite. ${ordinary_vol_id} ${volume_match}[1] Makes a variable available everywhere within the scope of the current suite. ${ordinary_vol_id} ${volume_match}[0] Makes a variable available everywhere within the scope of the current suite. ${root_vol_id} ${prev_root_vol_id} msg=Existing root volume is not attached to server Fails if objects are unequal after converting them to strings. ${ordinary_vol_id} ${prev_ordinary_vol_id} msg=Existing ordinary volume is not attached to server Fails if objects are unequal after converting them to strings. basic_28 cluster_main daily ${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_28 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 152aeff3-8c35-4624-ab95-355eccf27c96 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.38 | ubuntu20.04 | simple_requires-1-1-flv | | bf40147f-4159-46ea-9bff-3b78c09e8de1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 2230a4a8-1d58-4a53-877f-99e0d47b2652 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.46 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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_28 2>&1'. ${rc} = 0 ${stdout} = basic_28 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_28 == basic_28 ${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 | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 152aeff3-8c35-4624-ab95-355eccf27c96 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.38 | ubuntu20.04 | simple_requires-1-1-flv | | bf40147f-4159-46ea-9bff-3b78c09e8de1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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_28 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_28 cleanup cluster_main daily ${root_vol_id} msg=Volume is not available Fails unless the given variable exists within the current scope. ${ordinary_vol_id} msg=Volume is not available Fails unless the given variable exists within the current scope. ${root_vol_exists} ${root_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 3185b2d8-2018-4a17-8021-74dbb23036cb | 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'> ${root_vol_exists} = 1 ${root_vol_exists} == 0 Fail msg=Existing root volume is deleted Runs the given keyword with the given arguments, if ``condition`` is true. ${ordinary_vol_exists} ${ordinary_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 41abef0e-ece6-4519-b8cc-c49af29ef9fd | 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'> ${ordinary_vol_exists} = 1 ${ordinary_vol_exists} == 0 Fail msg=Existing ordinary volume is deleted Runs the given keyword with the given arguments, if ``condition`` is true. basic_28 cluster_main daily ${root_vol_id} Delete a volume by its identifier ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume delete ${volume_id} Runs the given command in the system and returns the RC and output. Running command 'openstack volume delete 3185b2d8-2018-4a17-8021-74dbb23036cb 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'> ${ordinary_vol_id} Delete a volume by its identifier ${volume_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack volume delete ${volume_id} Runs the given command in the system and returns the RC and output. Running command 'openstack volume delete 41abef0e-ece6-4519-b8cc-c49af29ef9fd 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'> basic_28 cleanup cluster_main daily ${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 persistent_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 persistent_volumes-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_28 cleanup cluster_main daily ${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 keep_persistent-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 keep_persistent-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_28 cleanup cluster_main daily 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 Persistent Volumes Runs the given keyword with the given arguments, if one or more tests failed. [BASIC-28] NS with one VDU which has 2 persistent volumes with keep flag '%{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/ipv6profile_2vm_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ipv6profile_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: ipv6profile_2vm_vnf Package created: /robot-systest/osm-packages/i... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ipv6profile_2vm_vnf Validation OK List of charms in the descriptor: set() Adding File: ipv6profile_2vm_vnf Package created: /robot-systest/osm-packages/ipv6profile_2vm_vnf.tar.gz Uploading package /robot-systest/osm-packages/ipv6profile_2vm_vnf.tar.gz 58214e9f-9c15-4baf-ae54-5acc114d0d35 ${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} = 58214e9f-9c15-4baf-ae54-5acc114d0d35 basic_29 cluster_main daily '%{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/ipv6profile_2vm_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ipv6profile_2vm_ns Validation OK List of charms in the descriptor: set() Adding File: ipv6profile_2vm_ns Package created: /robot-systest/osm-packages/ipv... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ipv6profile_2vm_ns Validation OK List of charms in the descriptor: set() Adding File: ipv6profile_2vm_ns Package created: /robot-systest/osm-packages/ipv6profile_2vm_ns.tar.gz 5b792472-0f17-4141-8694-0a79a3101f6e ${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} = 5b792472-0f17-4141-8694-0a79a3101f6e basic_29 cluster_main daily ${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_29 --nsd_name ipv6profile_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} = b718a3b0-607c-410b-af6b-971771531bad ${stdout} Logs the given message with the given level. b718a3b0-607c-410b-af6b-971771531bad ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = b718a3b0-607c-410b-af6b-971771531bad ${ns_id} Logs the given message with the given level. b718a3b0-607c-410b-af6b-971771531bad ${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 | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 152aeff3-8c35-4624-ab95-355eccf27c96 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.248.38 | ubuntu20.04 | simple_requires-1-1-flv | | bf40147f-4159-46ea-9bff-3b78c09e8de1 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.234 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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_29" 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_29 | b718a3b0-607c-410b-af6b-971771531bad | 2024-04-16T00:11:10 | BUILDING | INSTANTIATING (d2b9a71e-430c-4fe4-bf8c-11a0cc82a8f7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_29 | b718a3b0-607c-410b-af6b-971771531bad | 2024-04-16T00:11:10 | BUILDING | INSTANTIATING (d2b9a71e-430c-4fe4-bf8c-11a0cc82a8f7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | e174c08a-0e4d-4068-900d-c5fe42eec01e | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::1f4 | ubuntu20.04 | simple_requires-1-1-flv | | 8619ab5c-aa4e-4ad7-94d9-384d81905509 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::2a1; osm-ext=172.21.248.211 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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_29" 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_29 | b718a3b0-607c-410b-af6b-971771531bad | 2024-04-16T00:11:10 | BUILDING | INSTANTIATING (d2b9a71e-430c-4fe4-bf8c-11a0cc82a8f7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_29 | b718a3b0-607c-410b-af6b-971771531bad | 2024-04-16T00:11:10 | BUILDING | INSTANTIATING (d2b9a71e-430c-4fe4-bf8c-11a0cc82a8f7) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | e174c08a-0e4d-4068-900d-c5fe42eec01e | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::1f4 | ubuntu20.04 | simple_requires-1-1-flv | | 8619ab5c-aa4e-4ad7-94d9-384d81905509 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::2a1; osm-ext=172.21.248.211 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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_29" 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_29 | b718a3b0-607c-410b-af6b-971771531bad | 2024-04-16T00:11: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} = +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | e174c08a-0e4d-4068-900d-c5fe42eec01e | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::1f4 | ubuntu20.04 | simple_requires-1-1-flv | | 8619ab5c-aa4e-4ad7-94d9-384d81905509 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::2a1; osm-ext=172.21.248.211 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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_29" 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_29 | b718a3b0-607c-410b-af6b-971771531bad | 2024-04-16T00:11: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} = b718a3b0-607c-410b-af6b-971771531bad ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = b718a3b0-607c-410b-af6b-971771531bad basic_29 cluster_main daily ${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 --ns ${ns_id} | 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 --ns b718a3b0-607c-410b-af6b-971771531bad | grep b718a3b0-607c-410b-af6b-971771531bad | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 62bfcdcf-9a05-4212-a30e-074aed1842a6 ${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} = [ 62bfcdcf-9a05-4212-a30e-074aed1842a6 ] @{vnfr_list} = [ 62bfcdcf-9a05-4212-a30e-074aed1842a6 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 62bfcdcf-9a05-4212-a30e-074aed1842a6 ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 62bfcdcf-9a05-4212-a30e-074aed1842a6 ${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 b718a3b0-607c-410b-af6b-971771531bad | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.211 ${stdout} Logs the given message with the given level. 172.21.248.211 ${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.211 ${vnf_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf_ipmgmt} = 172.21.248.211 ${vnf_ipmgmt} Logs the given message with the given level. 172.21.248.211 basic_29 cluster_main daily ${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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 62bfcdcf-9a05-4212-a30e-074aed1842a6 --literal | yq '.vdur[0].interfaces[] | select(."vnf-vld-id" == "internal")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 2001:db8::2a1 ${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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 62bfcdcf-9a05-4212-a30e-074aed1842a6 --literal | yq '.vdur[1].interfaces[] | select(."vnf-vld-id" == "internal")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 2001:db8::1f4 ${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_29 cluster_main daily ${rc} ${vim_info} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(."count-index" == 0)' | yq -r '.vim_info[].interfaces[].vim_info' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 62bfcdcf-9a05-4212-a30e-074aed1842a6 --literal | yq '.vdur[] | select(."count-index" == 0)' | yq -r '.vim_info[].interfaces[].vim_info' 2>&1'. ${rc} = 1 ${vim_info} = yq: Error running jq: ParserError: did not find expected <document start> in "<stdin>", line 161, column 1. {admin_state_up: true, allowed_address_pairs: [], 'binding:host_id': nfvisrv11, 'binding:p... ${subnet_id} ${vim_info} {ip_address: '2001:db8::.*', subnet_id: ([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})} 1 Returns a list of all non-overlapping matches in the given string. ${subnet_id} = ['1c84eefd-3cfb-477c-9646-b04b84a28b85'] ${subnet_info} ${subnet_id}[0] Get subnet information in JSON format ${subnet_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack subnet show ${subnet_id} -f json Runs the given command in the system and returns the RC and output. Running command 'openstack subnet show 1c84eefd-3cfb-477c-9646-b04b84a28b85 -f json 2>&1'. ${rc} = 0 ${stdout} = { "allocation_pools": [ { "start": "2001:db8::2", "end": "2001:db8::ffff:ffff:ffff:ffff" } ], "cidr": "2001:db8::/64", "created_at": "2024-04-16T00:11:20Z", "description"... ${stdout} Logs the given message with the given level. { "allocation_pools": [ { "start": "2001:db8::2", "end": "2001:db8::ffff:ffff:ffff:ffff" } ], "cidr": "2001:db8::/64", "created_at": "2024-04-16T00:11:20Z", "description": "", "dns_nameservers": [], "dns_publish_fixed_ip": null, "enable_dhcp": true, "gateway_ip": "2001:db8::1", "host_routes": [], "id": "1c84eefd-3cfb-477c-9646-b04b84a28b85", "ip_version": 6, "ipv6_address_mode": "dhcpv6-stateful", "ipv6_ra_mode": "dhcpv6-stateful", "name": "basic_29-internal-subnet", "network_id": "3a7855de-1905-4ba4-bb15-3b1bb808e904", "project_id": "34a71bb7d82f4ec691d8cc11045ae83e", "revision_number": 0, "segment_id": null, "service_types": [], "subnetpool_id": null, "tags": [], "updated_at": "2024-04-16T00:11:20Z" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${subnet_info} = { "allocation_pools": [ { "start": "2001:db8::2", "end": "2001:db8::ffff:ffff:ffff:ffff" } ], "cidr": "2001:db8::/64", "created_at": "2024-04-16T00:11:20Z", "description"... ${json_object} ${subnet_info} Convert String to JSON object ${json_object} = {'allocation_pools': [{'start': '2001:db8::2', 'end': '2001:db8::ffff:ffff:ffff:ffff'}], 'cidr': '2001:db8::/64', 'created_at': '2024-04-16T00:11:20Z', 'description': '', 'dns_nameservers': [], 'dns_p... ${address_mode} ${json_object} ipv6_address_mode Returns a value from the given ``dictionary`` based on the given ``key``. ${address_mode} = dhcpv6-stateful ${ra_mode} ${json_object} ipv6_ra_mode Returns a value from the given ``dictionary`` based on the given ``key``. ${ra_mode} = dhcpv6-stateful ${address_mode} dhcpv6-stateful msg=ipv6_address_mode does not equals to dhcpv6-stateful Fails if the given objects are unequal. ${ra_mode} dhcpv6-stateful msg=ipv6_ra_mode does not equals to dhcpv6-stateful Fails if the given objects are unequal. basic_29 cluster_main daily ${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_29 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | e174c08a-0e4d-4068-900d-c5fe42eec01e | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::1f4 | ubuntu20.04 | simple_requires-1-1-flv | | 8619ab5c-aa4e-4ad7-94d9-384d81905509 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::2a1; osm-ext=172.21.248.211 | ubuntu20.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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_29 2>&1'. ${rc} = 0 ${stdout} = basic_29 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_29 == basic_29 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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_29 2>&1'. ${rc} = 0 ${stdout} = basic_29 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_29 == basic_29 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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_29 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_29 cleanup cluster_main daily ${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 ipv6profile_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 ipv6profile_2vm-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_29 cleanup cluster_main daily ${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 ipv6profile_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 ipv6profile_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_29 cleanup cluster_main daily 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-29] NS with a single VNF and two VDU linked by a VLD with ipv6-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/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 99aaf39c-a7cf-4ad0-8dcf-c07121bac403 ${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} = 99aaf39c-a7cf-4ad0-8dcf-c07121bac403 basic_30 cluster_main daily '%{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_ipv6_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/ubuntu_4ifaces_ipv6_ns Validation OK List of charms in the descriptor: set() Adding File: ubuntu_4ifaces_ipv6_ns Package created: /robot-systest/osm-pack... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/ubuntu_4ifaces_ipv6_ns Validation OK List of charms in the descriptor: set() Adding File: ubuntu_4ifaces_ipv6_ns Package created: /robot-systest/osm-packages/ubuntu_4ifaces_ipv6_ns.tar.gz 5c0a4222-937c-4cf2-98f5-3ff53893bebd ${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} = 5c0a4222-937c-4cf2-98f5-3ff53893bebd basic_30 cluster_main daily ${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_30 --nsd_name ubuntu_4ifaces-ipv6-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} = c1bb85f1-f17f-4536-9c7b-3e010ac63616 ${stdout} Logs the given message with the given level. c1bb85f1-f17f-4536-9c7b-3e010ac63616 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c1bb85f1-f17f-4536-9c7b-3e010ac63616 ${ns_id} Logs the given message with the given level. c1bb85f1-f17f-4536-9c7b-3e010ac63616 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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_30" 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_30 | c1bb85f1-f17f-4536-9c7b-3e010ac63616 | 2024-04-16T00:13:23 | BUILDING | INSTANTIATING (90829e44-6668-4d98-bedb-576db1326016) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_30 | c1bb85f1-f17f-4536-9c7b-3e010ac63616 | 2024-04-16T00:13:23 | BUILDING | INSTANTIATING (90829e44-6668-4d98-bedb-576db1326016) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | d69379d8-5bc5-4ce2-8aba-50e462a69adf | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 98c4e67c-fe4c-40ec-940f-a129d5f0156b | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::df; basic_30-datanet2=192.168.20.70; basic_30-datanet3=192.168.30.23; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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_30" 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_30 | c1bb85f1-f17f-4536-9c7b-3e010ac63616 | 2024-04-16T00:13:23 | BUILDING | INSTANTIATING (90829e44-6668-4d98-bedb-576db1326016) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_30 | c1bb85f1-f17f-4536-9c7b-3e010ac63616 | 2024-04-16T00:13:23 | BUILDING | INSTANTIATING (90829e44-6668-4d98-bedb-576db1326016) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | d69379d8-5bc5-4ce2-8aba-50e462a69adf | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.199; basic_30-datanet3=192.168.30.54; osm-ext=172.21.248.233 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 98c4e67c-fe4c-40ec-940f-a129d5f0156b | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::df; basic_30-datanet2=192.168.20.70; basic_30-datanet3=192.168.30.23; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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_30" 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_30 | c1bb85f1-f17f-4536-9c7b-3e010ac63616 | 2024-04-16T00:13:23 | 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 | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | d69379d8-5bc5-4ce2-8aba-50e462a69adf | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.199; basic_30-datanet3=192.168.30.54; osm-ext=172.21.248.233 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 98c4e67c-fe4c-40ec-940f-a129d5f0156b | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::df; basic_30-datanet2=192.168.20.70; basic_30-datanet3=192.168.30.23; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5e546768-a22e-4e24-90ab-833d5a4a2a1a | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.190; osm-ext=172.21.249.183 | ubuntu18.04 | simple_requires-1-1-flv | | ed2ced4a-be56-404e-abcd-80c56c67d678 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.221.253; osm-ext=172.21.248.44 | ubuntu18.04 | simple_requires-1-1-flv | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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_30" 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_30 | c1bb85f1-f17f-4536-9c7b-3e010ac63616 | 2024-04-16T00:13:23 | 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} = c1bb85f1-f17f-4536-9c7b-3e010ac63616 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c1bb85f1-f17f-4536-9c7b-3e010ac63616 basic_30 cluster_main daily ${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 --ns ${ns_id} | 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 --ns c1bb85f1-f17f-4536-9c7b-3e010ac63616 | grep c1bb85f1-f17f-4536-9c7b-3e010ac63616 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 1988c06d-1ec9-4798-8f01-b8228d501af7 76ea1b49-78e9-4fe0-a564-5eb1191db584 ${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} = [ 1988c06d-1ec9-4798-8f01-b8228d501af7 | 76ea1b49-78e9-4fe0-a564-5eb1191db584 ] @{vnfr_list} = [ 1988c06d-1ec9-4798-8f01-b8228d501af7 | 76ea1b49-78e9-4fe0-a564-5eb1191db584 ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 1988c06d-1ec9-4798-8f01-b8228d501af7 1: 76ea1b49-78e9-4fe0-a564-5eb1191db584 ${vnf_id1} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id1} = 1988c06d-1ec9-4798-8f01-b8228d501af7 ${vnf_id2} ${vnfr_list}[1] Makes a variable available everywhere within the scope of the current suite. ${vnf_id2} = 76ea1b49-78e9-4fe0-a564-5eb1191db584 ${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 c1bb85f1-f17f-4536-9c7b-3e010ac63616 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.67 ${stdout} Logs the given message with the given level. 172.21.249.67 ${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.67 ${vnf1_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf1_ipmgmt} = 172.21.249.67 ${vnf1_ipmgmt} Logs the given message with the given level. 172.21.249.67 ${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 c1bb85f1-f17f-4536-9c7b-3e010ac63616 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.233 ${stdout} Logs the given message with the given level. 172.21.248.233 ${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.233 ${vnf2_ipmgmt} ${ip} Makes a variable available everywhere within the scope of the current suite. ${vnf2_ipmgmt} = 172.21.248.233 ${vnf2_ipmgmt} Logs the given message with the given level. 172.21.248.233 basic_30 cluster_main daily ${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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1988c06d-1ec9-4798-8f01-b8228d501af7 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 2001:db8::df ${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} = 2001:db8::df basic_30 cluster_main daily ${vnf_id2} 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 -r '."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 76ea1b49-78e9-4fe0-a564-5eb1191db584 --literal | yq '.vdur[0].interfaces[] | select(.name == "eth1")' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 2001:db8::250 ${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} = 2001:db8::250 basic_30 cluster_main daily ${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. 120 seconds Wait for SSH daemon to be up Pauses the test executed for the given time. Slept 2 minutes Wait for SSH daemon to be up ${stdout} ${vnf1_ipmgmt} ${username} ${EMPTY} ${privatekey} sudo dhclient -6 ens4 ; 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.67: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 Tue Apr 16 00:16:44 UTC 2024 System load: 0.93 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.249.67 Memory usage: 10% IPv4 address for ens5: 192.168.20.70 Swap usage: 0% IPv4 address for ens6: 192.168.30.23 Processes: 109 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-30-vnf1-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo dhclient -6 ens4 ; ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.249.67/22 2001:db8::df/128 192.168.20.70/24 192.168.30.23/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.67/22 2001:db8::df/128 192.168.20.70/24 192.168.30.23/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.67/22 2001:db8::df/128 192.168.20.70/24 192.168.30.23/24 ${stdout} Logs the given message with the given level. 172.21.249.67/22 2001:db8::df/128 192.168.20.70/24 192.168.30.23/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.249.67/22 | 2001:db8::df/128 | 192.168.20.70/24 | 192.168.30.23/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. basic_30 cluster_main daily ${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} sudo dhclient -6 ens4 ; 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.233: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 Tue Apr 16 00:16:48 UTC 2024 System load: 0.34 Users logged in: 0 Usage of /: 14.0% of 9.52GB IPv4 address for ens3: 172.21.248.233 Memory usage: 10% IPv4 address for ens5: 192.168.20.199 Swap usage: 0% IPv4 address for ens6: 192.168.30.54 Processes: 110 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-30-vnf2-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo dhclient -6 ens4 ; ip --brief addr show up | grep -v "^lo" | awk '{print $3}''. Command exited with return code 0. ${stdout} = 172.21.248.233/22 2001:db8::250/128 192.168.20.199/24 192.168.30.54/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.233/22 2001:db8::250/128 192.168.20.199/24 192.168.30.54/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.233/22 2001:db8::250/128 192.168.20.199/24 192.168.30.54/24 ${stdout} Logs the given message with the given level. 172.21.248.233/22 2001:db8::250/128 192.168.20.199/24 192.168.30.54/24 @{ip} ${stdout} Splits the ``string`` using ``separator`` as a delimiter string. @{ip} = [ 172.21.248.233/22 | 2001:db8::250/128 | 192.168.20.199/24 | 192.168.30.54/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. basic_30 cluster_main daily ${rc} ${vim_info} osm vnf-show ${vnf_id1} --literal | yq '.vdur[] | select(."count-index" == 0)' | yq -r '.vim_info[].interfaces[].vim_info' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1988c06d-1ec9-4798-8f01-b8228d501af7 --literal | yq '.vdur[] | select(."count-index" == 0)' | yq -r '.vim_info[].interfaces[].vim_info' 2>&1'. ${rc} = 0 ${vim_info} = {admin_state_up: true, allowed_address_pairs: [], 'binding:host_id': nfvisrv11, 'binding:profile': {}, 'binding:vif_details': {bridge_name: br-int, connectivity: l2, datapath_type: system, ovs_hybrid_... ${subnet_id} ${vim_info} {ip_address: '2001:db8::.*', subnet_id: ([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})} 1 Returns a list of all non-overlapping matches in the given string. ${subnet_id} = ['cfeec61d-8db3-4a37-9b88-ec4062ef11c9'] ${subnet_info} ${subnet_id}[0] Get subnet information in JSON format ${subnet_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack subnet show ${subnet_id} -f json Runs the given command in the system and returns the RC and output. Running command 'openstack subnet show cfeec61d-8db3-4a37-9b88-ec4062ef11c9 -f json 2>&1'. ${rc} = 0 ${stdout} = { "allocation_pools": [ { "start": "2001:db8::2", "end": "2001:db8::ffff:ffff:ffff:ffff" } ], "cidr": "2001:db8::/64", "created_at": "2024-04-16T00:13:31Z", "description"... ${stdout} Logs the given message with the given level. { "allocation_pools": [ { "start": "2001:db8::2", "end": "2001:db8::ffff:ffff:ffff:ffff" } ], "cidr": "2001:db8::/64", "created_at": "2024-04-16T00:13:31Z", "description": "", "dns_nameservers": [], "dns_publish_fixed_ip": null, "enable_dhcp": true, "gateway_ip": "2001:db8::1", "host_routes": [], "id": "cfeec61d-8db3-4a37-9b88-ec4062ef11c9", "ip_version": 6, "ipv6_address_mode": "dhcpv6-stateful", "ipv6_ra_mode": "dhcpv6-stateful", "name": "basic_30-datanet1-subnet", "network_id": "f0dcb0a9-6f8b-46c1-abe5-637867f46e1b", "project_id": "34a71bb7d82f4ec691d8cc11045ae83e", "revision_number": 0, "segment_id": null, "service_types": [], "subnetpool_id": null, "tags": [], "updated_at": "2024-04-16T00:13:31Z" } ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${subnet_info} = { "allocation_pools": [ { "start": "2001:db8::2", "end": "2001:db8::ffff:ffff:ffff:ffff" } ], "cidr": "2001:db8::/64", "created_at": "2024-04-16T00:13:31Z", "description"... ${json_object} ${subnet_info} Convert String to JSON object ${json_object} = {'allocation_pools': [{'start': '2001:db8::2', 'end': '2001:db8::ffff:ffff:ffff:ffff'}], 'cidr': '2001:db8::/64', 'created_at': '2024-04-16T00:13:31Z', 'description': '', 'dns_nameservers': [], 'dns_p... ${address_mode} ${json_object} ipv6_address_mode Returns a value from the given ``dictionary`` based on the given ``key``. ${address_mode} = dhcpv6-stateful ${ra_mode} ${json_object} ipv6_ra_mode Returns a value from the given ``dictionary`` based on the given ``key``. ${ra_mode} = dhcpv6-stateful ${address_mode} dhcpv6-stateful msg=ipv6_address_mode does not equal dhcpv6-stateful Fails if the given objects are unequal. ${ra_mode} dhcpv6-stateful msg=ipv6_ra_mode does not equal dhcpv6-stateful Fails if the given objects are unequal. basic_30 cluster_main daily ${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_30 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 | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | a9b30a6a-5f41-4084-b156-2edf83123eda | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.159 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | d69379d8-5bc5-4ce2-8aba-50e462a69adf | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::250; basic_30-datanet2=192.168.20.199; basic_30-datanet3=192.168.30.54; osm-ext=172.21.248.233 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 98c4e67c-fe4c-40ec-940f-a129d5f0156b | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::df; basic_30-datanet2=192.168.20.70; basic_30-datanet3=192.168.30.23; osm-ext=172.21.249.67 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+------------------------+ ${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_30 2>&1'. ${rc} = 0 ${stdout} = basic_30 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_30 == basic_30 ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | a9b30a6a-5f41-4084-b156-2edf83123eda | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.159 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | d69379d8-5bc5-4ce2-8aba-50e462a69adf | basic_30-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.248.233 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 98c4e67c-fe4c-40ec-940f-a129d5f0156b | basic_30-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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_30 2>&1'. ${rc} = 0 ${stdout} = basic_30 ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_30 == basic_30 ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | a9b30a6a-5f41-4084-b156-2edf83123eda | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.159 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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_30 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_30 cleanup cluster_main daily ${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-ipv6-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-ipv6-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_30 cleanup cluster_main daily ${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_30 cleanup cluster_main daily 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-30] NS with a single VNF and two VDU linked by a VLD with ipv6-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/multivdu_multiattach_vnf' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/multivdu_multiattach_vnf Validation OK List of charms in the descriptor: set() Adding File: multivdu_multiattach_vnf Package created: /robot-systest/osm-... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/multivdu_multiattach_vnf Validation OK List of charms in the descriptor: set() Adding File: multivdu_multiattach_vnf Package created: /robot-systest/osm-packages/multivdu_multiattach_vnf.tar.gz Uploading package /robot-systest/osm-packages/multivdu_multiattach_vnf.tar.gz 75f041c3-13a1-462e-847b-006995ddc058 ${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} = 75f041c3-13a1-462e-847b-006995ddc058 basic_31 cluster_main daily '%{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/multivdu_multiattach_ns' 2>&1'. ${rc} = 0 ${stdout} = Validating package /robot-systest/osm-packages/multivdu_multiattach_ns Validation OK List of charms in the descriptor: set() Adding File: multivdu_multiattach_ns Package created: /robot-systest/osm-pa... ${stdout} Logs the given message with the given level. Validating package /robot-systest/osm-packages/multivdu_multiattach_ns Validation OK List of charms in the descriptor: set() Adding File: multivdu_multiattach_ns Package created: /robot-systest/osm-packages/multivdu_multiattach_ns.tar.gz c87d087b-2802-4eb2-9e7d-170dac260223 ${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} = c87d087b-2802-4eb2-9e7d-170dac260223 basic_31 cluster_main daily ${status} ${message} Variable Should Exist ${vdu0_publickey} Runs the given keyword with the given arguments and ignores possible error. ${vdu0_publickey} Fails unless the given variable exists within the current scope. ${status} = PASS ${message} = None "${status}" == "FAIL" Set Global Variable ${vdu0_publickey} ${EMPTY} Runs the given keyword with the given arguments, if ``condition`` is true. ${id} ${nsd_name} %{VIM_TARGET} ${ns_name} ${ns_config} ${vdu0_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 multivdu_multiattach --nsd_name multivdu_multiattach-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} = f679e633-1d68-46ed-a0d0-2c93e86d4ee8 ${stdout} Logs the given message with the given level. f679e633-1d68-46ed-a0d0-2c93e86d4ee8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f679e633-1d68-46ed-a0d0-2c93e86d4ee8 ${ns_id} Logs the given message with the given level. f679e633-1d68-46ed-a0d0-2c93e86d4ee8 ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | a9b30a6a-5f41-4084-b156-2edf83123eda | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.159 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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="multivdu_multiattach" 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 | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | multivdu_multiattach | f679e633-1d68-46ed-a0d0-2c93e86d4ee8 | 2024-04-16T00:17:46 | BUILDING | INSTANTIATING (03113e5a-18c9-4c2c-8918-ca14c0d4f7c8) | N/A | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | multivdu_multiattach | f679e633-1d68-46ed-a0d0-2c93e86d4ee8 | 2024-04-16T00:17:46 | BUILDING | INSTANTIATING (03113e5a-18c9-4c2c-8918-ca14c0d4f7c8) | N/A | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | 0f27f532-8fc0-492c-918d-3594a863ad41 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 900810fb-7ba8-41c9-afd0-a72123e5164b | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.60 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | a9b30a6a-5f41-4084-b156-2edf83123eda | basic_26_secure_-simple-mgmtVM-0 | ACTIVE | | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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="multivdu_multiattach" 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 | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | multivdu_multiattach | f679e633-1d68-46ed-a0d0-2c93e86d4ee8 | 2024-04-16T00:17:46 | BUILDING | INSTANTIATING (03113e5a-18c9-4c2c-8918-ca14c0d4f7c8) | N/A | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | multivdu_multiattach | f679e633-1d68-46ed-a0d0-2c93e86d4ee8 | 2024-04-16T00:17:46 | BUILDING | INSTANTIATING (03113e5a-18c9-4c2c-8918-ca14c0d4f7c8) | N/A | +----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | BUILD | | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 0f27f532-8fc0-492c-918d-3594a863ad41 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 900810fb-7ba8-41c9-afd0-a72123e5164b | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.60 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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="multivdu_multiattach" 2>&1'. ${rc} = 0 ${stdout} = +----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | dat... ${stdout} Logs the given message with the given level. +----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | multivdu_multiattach | f679e633-1d68-46ed-a0d0-2c93e86d4ee8 | 2024-04-16T00:17: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 | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | BUILD | | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 0f27f532-8fc0-492c-918d-3594a863ad41 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 900810fb-7ba8-41c9-afd0-a72123e5164b | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.60 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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="multivdu_multiattach" 2>&1'. ${rc} = 0 ${stdout} = +----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | dat... ${stdout} Logs the given message with the given level. +----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | ns instance name | id | date | ns state | current operation | error details | +----------------------+--------------------------------------+---------------------+----------+-------------------+---------------+ | multivdu_multiattach | f679e633-1d68-46ed-a0d0-2c93e86d4ee8 | 2024-04-16T00:17: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} = f679e633-1d68-46ed-a0d0-2c93e86d4ee8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f679e633-1d68-46ed-a0d0-2c93e86d4ee8 ${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 basic_31 cluster_main daily ${_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 3 ${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=vnf | grep f679e633-1d68-46ed-a0d0-2c93e86d4ee8 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 33316cba-44be-4766-9c3d-d1d0881421b0 ${stdout} Logs the given message with the given level. 33316cba-44be-4766-9c3d-d1d0881421b0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${_vnf_id} = 33316cba-44be-4766-9c3d-d1d0881421b0 ${vnf_id} ${_vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 33316cba-44be-4766-9c3d-d1d0881421b0 basic_31 cluster_main daily ${rc} ${vdu0_ip} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[0].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 33316cba-44be-4766-9c3d-d1d0881421b0 --literal | yq -r '.vdur[0].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${vdu0_ip} = 172.21.249.60 ${rc} ${vdu1_ip} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[1].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 33316cba-44be-4766-9c3d-d1d0881421b0 --literal | yq -r '.vdur[1].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${vdu1_ip} = 172.21.248.96 ${mgmnt_ip_addr_0} ${vdu0_ip} Makes a variable available everywhere within the scope of the current suite. ${mgmnt_ip_addr_0} = 172.21.249.60 ${mgmnt_ip_addr_1} ${vdu1_ip} Makes a variable available everywhere within the scope of the current suite. ${mgmnt_ip_addr_1} = 172.21.248.96 basic_31 cluster_main daily ${mgmnt_ip_addr_0} ${vdu0_username} ${vdu0_password} ${vdu0_privatekey} sudo mkfs.ext3 -F /dev/vdb && sudo mkdir /shared && sudo mount /dev/vdb /shared && sudo chown ubuntu:ubuntu /shared && echo "osmtest" > /shared/test_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.249.60:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:19:52 UTC 2024 System load: 0.17626953125 Processes: 93 Usage of /: 29.7% of 4.67GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.60 Swap usage: 0% 0 updates can be applied immediately. 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. [?2004hubuntu@multivdu-multiat-vnf-mgmtvm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo mkfs.ext3 -F /dev/vdb && sudo mkdir /shared && sudo mount /dev/vdb /shared && sudo chown ubuntu:ubuntu /shared && echo "osmtest" > /shared/test_file'. Command exited with return code 0. ${stdout} = Discarding device blocks: 0/2621440 done Creating filesystem with 2621440 4k blocks and 655360 inodes Filesystem UUID: e60... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. Discarding device blocks: 0/2621440 done Creating filesystem with 2621440 4k blocks and 655360 inodes Filesystem UUID: e6033f41-6a73-41b4-89ff-37d265829111 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 Allocating group tables: 0/80 done Writing inode tables: 0/8028/80 done Creating journal (16384 blocks): done Writing superblocks and filesystem accounting information: 0/80 done Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 10s Pauses the test executed for the given time. Slept 10 seconds ${mgmnt_ip_addr_1} ${vdu1_username} ${vdu1_password} ${vdu1_privatekey} sudo mkdir /shared && sudo mount /dev/vdb /shared && ls /shared ${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.96:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:20:07 UTC 2024 System load: 0.142578125 Processes: 93 Usage of /: 29.7% of 4.67GB Users logged in: 0 Memory usage: 19% IPv4 address for ens3: 172.21.248.96 Swap usage: 0% 0 updates can be applied immediately. 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. [?2004hubuntu@multivdu-multiat-vnf-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'sudo mkdir /shared && sudo mount /dev/vdb /shared && ls /shared'. Command exited with return code 0. ${stdout} = lost+found test_file ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. lost+found test_file Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${mgmnt_ip_addr_1} ${vdu1_username} ${vdu1_password} ${vdu1_privatekey} cat /shared/test_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} ${password} Logs into the SSH server with the given ``username`` and ``password``. Logging into '172.21.248.96:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:20:07 UTC 2024 System load: 0.142578125 Processes: 93 Usage of /: 29.7% of 4.67GB Users logged in: 0 Memory usage: 19% IPv4 address for ens3: 172.21.248.96 Swap usage: 0% 0 updates can be applied immediately. The list of available updates is more than a week old. To check for new updates run: sudo apt update Last login: Tue Apr 16 00:20:08 2024 from 172.21.249.4 [?2004hubuntu@multivdu-multiat-vnf-datavm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'cat /shared/test_file'. Command exited with return code 0. ${stdout} = osmtest ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. osmtest Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} ${mgmnt_ip_addr_0} ${vdu0_username} ${vdu0_password} ${vdu0_privatekey} cat /shared/test_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.249.60:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 00:19:52 UTC 2024 System load: 0.17626953125 Processes: 93 Usage of /: 29.7% of 4.67GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.249.60 Swap usage: 0% 0 updates can be applied immediately. The list of available updates is more than a week old. To check for new updates run: sudo apt update Last login: Tue Apr 16 00:19:53 2024 from 172.21.249.4 [?2004hubuntu@multivdu-multiat-vnf-mgmtvm-0:~$ ${stdout} ${rc} ${command} return_rc=True return_stdout=True Executes ``command`` on the remote machine and returns its outputs. Executing command 'cat /shared/test_file'. Command exited with return code 0. ${stdout} = osmtest ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. osmtest Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = osmtest ${stdout} Logs the given message with the given level. osmtest ${stdout} osmtest Shared data can't be read Fails if the given objects are unequal. basic_31 cluster_main daily ${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 multivdu_multiattach 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 0f27f532-8fc0-492c-918d-3594a863ad41 | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.248.96 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 900810fb-7ba8-41c9-afd0-a72123e5164b | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.60 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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 multivdu_multiattach 2>&1'. ${rc} = 0 ${stdout} = multivdu_multiattach ${stdout} ${ns} Fails if objects are equal after converting them to strings. multivdu_multiattach == multivdu_multiattach ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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 multivdu_multiattach 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${ns} Fails if objects are equal after converting them to strings. basic_31 cleanup cluster_main daily ${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 multivdu_multiattach-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 multivdu_multiattach-ns 2>&1'. ${rc} = 1 ${stdout} = ${stdout} ${nsd_id} Fails if objects are equal after converting them to strings. basic_31 cleanup cluster_main daily ${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 multivdu_multiattach-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 multivdu_multiattach-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_31 cleanup cluster_main daily 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-31] Basic NS with two multi-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_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 384deeb9-6830-4f5b-b7c9-068337469130 ${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} = 384deeb9-6830-4f5b-b7c9-068337469130 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 0d5a527d-4f4a-4022-a86d-dc3b2e39940c ${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} = 0d5a527d-4f4a-4022-a86d-dc3b2e39940c 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} = d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 ${stdout} Logs the given message with the given level. d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 ${ns_id} Logs the given message with the given level. d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 ${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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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 | d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 | 2024-04-16T00:20:46 | BUILDING | INSTANTIATING (b249770d-fbab-4040-9033-41f834c44e49) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 | 2024-04-16T00:20:46 | BUILDING | INSTANTIATING (b249770d-fbab-4040-9033-41f834c44e49) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ | 72b3a52a-1c4e-494e-ba2e-139265c34300 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.167.105; osm-ext=172.21.248.143 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ ${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 | d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 | 2024-04-16T00:20:46 | BUILDING | INSTANTIATING (b249770d-fbab-4040-9033-41f834c44e49) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 | 2024-04-16T00:20:46 | BUILDING | INSTANTIATING (b249770d-fbab-4040-9033-41f834c44e49) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ | 72b3a52a-1c4e-494e-ba2e-139265c34300 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.167.105; osm-ext=172.21.248.143 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ ${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 | d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 | 2024-04-16T00:20: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} = +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ | 72b3a52a-1c4e-494e-ba2e-139265c34300 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.167.105; osm-ext=172.21.248.143 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ ${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 | d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 | 2024-04-16T00:20: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} = d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 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 d18ad01c-cfba-4781-bdb5-a2e50bf6dad4 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.143 ${stdout} Logs the given message with the given level. 172.21.248.143 ${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.143 ${ip_addr} Logs the given message with the given level. 172.21.248.143 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.143 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.143: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 Tue Apr 16 00:22:30 UTC 2024 System load: 0.11 Processes: 97 Usage of /: 3.8% of 28.90GB Users logged in: 0 Memory usage: 6% IP address for ens3: 172.21.248.143 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 | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ | 72b3a52a-1c4e-494e-ba2e-139265c34300 | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.167.105; osm-ext=172.21.248.143 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | ad874f70-faa0-4534-8036-b75122e0299b | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.76 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+--------------------------------------------------------------------+-------------+-----------------------------+ ${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} = +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | ID | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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 c5ec1222-7a03-41e8-8602-8b054c060b94 ${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} = c5ec1222-7a03-41e8-8602-8b054c060b94 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 4cd740a1-1d9c-4bfa-b565-4630cfbec24a ${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} = 4cd740a1-1d9c-4bfa-b565-4630cfbec24a 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} = 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 ${stdout} Logs the given message with the given level. 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 ${ns_id} Logs the given message with the given level. 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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 | 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 | 2024-04-16T00:23:05 | BUILDING | INSTANTIATING (aa352012-674d-4ae5-a619-58d178af928a) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 | 2024-04-16T00:23:05 | BUILDING | INSTANTIATING (aa352012-674d-4ae5-a619-58d178af928a) | N/A | +-----------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | a96f2599-db60-4d87-b429-324cb5bad8b7 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 694dd7d8-e462-4867-9aa9-f928455a89a0 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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 | 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 | 2024-04-16T00:23: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} = +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | a96f2599-db60-4d87-b429-324cb5bad8b7 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | BUILD | | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 694dd7d8-e462-4867-9aa9-f928455a89a0 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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 | 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 | 2024-04-16T00:23: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} = 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 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 --ns ${ns_id} | 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 --ns 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 | grep 55a1d4b4-4673-458c-aeb3-7ab5121a2ba3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 2d691f58-8276-48ca-84c1-2638c0b24cb7 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 2d691f58-8276-48ca-84c1-2638c0b24cb7 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 2d691f58-8276-48ca-84c1-2638c0b24cb7 ${vnfs_list} = ['2d691f58-8276-48ca-84c1-2638c0b24cb7'] ${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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 2d691f58-8276-48ca-84c1-2638c0b24cb7 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 694dd7d8-e462-4867-9aa9-f928455a89a0 ${stdout} Logs the given message with the given level. 694dd7d8-e462-4867-9aa9-f928455a89a0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vim_id} = 694dd7d8-e462-4867-9aa9-f928455a89a0 ${vim_id} Logs the given message with the given level. 694dd7d8-e462-4867-9aa9-f928455a89a0 ${vnf_server_id} ${vim_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_server_id} = 694dd7d8-e462-4867-9aa9-f928455a89a0 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 694dd7d8-e462-4867-9aa9-f928455a89a0 | grep flavor | awk 'NR>1{print $1}' RS='(' FS=')''. ${rc} = 0 ${stdout} = epa_quota-VM-vnf-1-flv ${stdout} Logs the given message with the given level. epa_quota-VM-vnf-1-flv ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${flavor_id} = epa_quota-VM-vnf-1-flv ${properties} ${flavor_id} ${flavor_id} Verifies that the given item is not empty. Length is 22 ${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 epa_quota-VM-vnf-1-flv | 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... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | a96f2599-db60-4d87-b429-324cb5bad8b7 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.97 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 694dd7d8-e462-4867-9aa9-f928455a89a0 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | a96f2599-db60-4d87-b429-324cb5bad8b7 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.97 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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. Suite Preparation Runs the given keyword with the given arguments and ignores possible error. Test Suite Preparation: Setting Prometheus Testsuite Variables Set Testsuite Prometheus Variables to be used in subsequent test cases ${local_prometheus_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${prometheus_host} ${local_prometheus_host} Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} 9091 Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} Logs the given message with the given level. 9091 ${prometheus_host} Logs the given message with the given level. 172.21.249.13 ${prometheus_user} Logs the given message with the given level. "" ${prometheus_password} Logs the given message with the given level. "" ${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} = 45915814-8d02-4308-b296-d638ccef4860 ${stdout} Logs the given message with the given level. 45915814-8d02-4308-b296-d638ccef4860 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${created_sdnc_id} = 45915814-8d02-4308-b296-d638ccef4860 ${sdnc_id} ${created_sdnc_id} Makes a variable available everywhere within the scope of the current suite. ${sdnc_id} = 45915814-8d02-4308-b296-d638ccef4860 ${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 45915814-8d02-4308-b296-d638ccef4860 | 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=45915814-8d02-4308-b296-d638ccef4860 ${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=45915814-8d02-4308-b296-d638ccef4860 ${param_name} = sdnc_id ${param_value} = 45915814-8d02-4308-b296-d638ccef4860 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="45915814-8d02-4308-b296-d638ccef4860", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840ea3550>, 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.13:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2245915814-8d02-4308-b296-d638ccef4860%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2245915814-8d02-4308-b296-d638ccef4860%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2245915814-8d02-4308-b296-d638ccef4860%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:24:21 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=45915814-8d02-4308-b296-d638ccef4860 ${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=45915814-8d02-4308-b296-d638ccef4860 ${param_name} = sdnc_id ${param_value} = 45915814-8d02-4308-b296-d638ccef4860 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = sdnc_id="45915814-8d02-4308-b296-d638ccef4860", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840e87d60>, 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.13:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2245915814-8d02-4308-b296-d638ccef4860%22,%7D path_url=/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2245915814-8d02-4308-b296-d638ccef4860%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_sdnc_status%7Bsdnc_id=%2245915814-8d02-4308-b296-d638ccef4860%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 00:25:21 GMT', 'Content-Length': '192'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_sdnc_status","job":"airflow_osm_sdnc_status_45915814-8d02-4308-b296-d638ccef4860","sdnc_id":"45915814-8d02-4308-b296-d638ccef4860"},"value":[1713227121.475,"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', 'job': 'airflow_osm_sdnc_status_45915814-8d02-4308-b296-d638ccef4860', 'sdnc_id': '45915814... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_sdnc_status', 'job': 'airflow_osm_sdnc_status_45915814-8d02-4308-b296-d638ccef4860', 'sdnc_id': '45915814-8d02-4308-b296-d638ccef4860'}, 'value': [1713227121.475, '1']}] ${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 938a671b-043f-4de4-8887-88c92cff10f3 ${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} = 938a671b-043f-4de4-8887-88c92cff10f3 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 fec4ee6c-cea5-4b2a-996b-b04d6276b3f7 ${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} = fec4ee6c-cea5-4b2a-996b-b04d6276b3f7 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} = d1bd6cc5-46b5-4a83-8da2-54177f2783ed ${stdout} Logs the given message with the given level. d1bd6cc5-46b5-4a83-8da2-54177f2783ed ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d1bd6cc5-46b5-4a83-8da2-54177f2783ed ${ns_id} Logs the given message with the given level. d1bd6cc5-46b5-4a83-8da2-54177f2783ed ${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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | 8ee2d716-be71-477d-bb29-7308073830b0 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.39 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25:28 | BUILDING | INSTANTIATING (0a70b191-fcfa-4f51-8183-18ab828dd50d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25:28 | BUILDING | INSTANTIATING (0a70b191-fcfa-4f51-8183-18ab828dd50d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------------------------+ | 870452a5-edc7-4713-883e-531837a55211 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.56 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0c4ecbe7-d377-4145-95a0-dd18f262c723 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.83 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 8ee2d716-be71-477d-bb29-7308073830b0 | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.248.39 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------------------------------------+-------------+-----------------------------------------------------+ ${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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25:28 | BUILDING | INSTANTIATING (0a70b191-fcfa-4f51-8183-18ab828dd50d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25:28 | BUILDING | INSTANTIATING (0a70b191-fcfa-4f51-8183-18ab828dd50d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+----------------------+ | 870452a5-edc7-4713-883e-531837a55211 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.56 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0c4ecbe7-d377-4145-95a0-dd18f262c723 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.83 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+----------------------+ ${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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25:28 | BUILDING | INSTANTIATING (0a70b191-fcfa-4f51-8183-18ab828dd50d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25:28 | BUILDING | INSTANTIATING (0a70b191-fcfa-4f51-8183-18ab828dd50d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 8d1e9966-30b4-477d-bdd2-9f367f104b1a | basic_29-vnf-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 98186cbd-36db-4218-bfd0-ec8a2345af23 | basic_29-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 870452a5-edc7-4713-883e-531837a55211 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.56 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0c4ecbe7-d377-4145-95a0-dd18f262c723 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.83 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25: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} = +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 8d1e9966-30b4-477d-bdd2-9f367f104b1a | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::37b | ubuntu20.04 | simple_requires-1-1-flv | | 98186cbd-36db-4218-bfd0-ec8a2345af23 | basic_29-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 870452a5-edc7-4713-883e-531837a55211 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.56 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0c4ecbe7-d377-4145-95a0-dd18f262c723 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.83 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${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 | d1bd6cc5-46b5-4a83-8da2-54177f2783ed | 2024-04-16T00:25: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} = d1bd6cc5-46b5-4a83-8da2-54177f2783ed ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d1bd6cc5-46b5-4a83-8da2-54177f2783ed 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 d1bd6cc5-46b5-4a83-8da2-54177f2783ed | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.83 ${stdout} Logs the given message with the given level. 172.21.249.83 ${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.83 ${ip_mgmt_1} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_1} = 172.21.249.83 ${ip_mgmt_1} Logs the given message with the given level. 172.21.249.83 ${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 d1bd6cc5-46b5-4a83-8da2-54177f2783ed | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.56 ${stdout} Logs the given message with the given level. 172.21.249.56 ${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.56 ${ip_mgmt_2} ${ip} Makes a variable available everywhere within the scope of the current suite. ${ip_mgmt_2} = 172.21.249.56 ${ip_mgmt_2} Logs the given message with the given level. 172.21.249.56 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.83: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 Tue Apr 16 00:27:46 UTC 2024 System load: 0.21 Processes: 128 Usage of /: 13.9% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.83 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:8d:91:4f brd ff:ff:ff:ff:ff:ff inet 172.21.249.83/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86299sec preferred_lft 86299sec inet6 fe80::f816:3eff:fe8d:914f/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:f0:99:63 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:fef0:9963/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=0.337 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.196 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.235 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.212 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.418 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4067ms rtt min/avg/max/mdev = 0.196/0.279/0.418/0.084 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:8d:91:4f brd ff:ff:ff:ff:ff:ff inet 172.21.249.83/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86299sec preferred_lft 86299sec inet6 fe80::f816:3eff:fe8d:914f/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:f0:99:63 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:fef0:9963/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=0.337 ms 64 bytes from 192.168.100.22: icmp_seq=2 ttl=64 time=0.196 ms 64 bytes from 192.168.100.22: icmp_seq=3 ttl=64 time=0.235 ms 64 bytes from 192.168.100.22: icmp_seq=4 ttl=64 time=0.212 ms 64 bytes from 192.168.100.22: icmp_seq=5 ttl=64 time=0.418 ms --- 192.168.100.22 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4067ms rtt min/avg/max/mdev = 0.196/0.279/0.418/0.084 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.56: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 Tue Apr 16 00:27:52 UTC 2024 System load: 0.4 Processes: 126 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 5% IPv4 address for ens3: 172.21.249.56 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:f7:0b:f2 brd ff:ff:ff:ff:ff:ff inet 172.21.249.56/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86298sec preferred_lft 86298sec inet6 fe80::f816:3eff:fef7:bf2/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:39:a2:64 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:fe39:a264/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.224 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.246 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.986 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.193 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.217 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.193/0.373/0.986/0.306 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:f7:0b:f2 brd ff:ff:ff:ff:ff:ff inet 172.21.249.56/22 brd 172.21.251.255 scope global dynamic ens3 valid_lft 86298sec preferred_lft 86298sec inet6 fe80::f816:3eff:fef7:bf2/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:39:a2:64 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:fe39:a264/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.224 ms 64 bytes from 192.168.100.11: icmp_seq=2 ttl=64 time=0.246 ms 64 bytes from 192.168.100.11: icmp_seq=3 ttl=64 time=0.986 ms 64 bytes from 192.168.100.11: icmp_seq=4 ttl=64 time=0.193 ms 64 bytes from 192.168.100.11: icmp_seq=5 ttl=64 time=0.217 ms --- 192.168.100.11 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4052ms rtt min/avg/max/mdev = 0.193/0.373/0.986/0.306 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 | +--------------------------------------+--------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8d1e9966-30b4-477d-bdd2-9f367f104b1a | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::37b | ubuntu20.04 | simple_requires-1-1-flv | | 98186cbd-36db-4218-bfd0-ec8a2345af23 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::9f; osm-ext=172.21.249.177 | ubuntu20.04 | simple_requires-1-1-flv | | 870452a5-edc7-4713-883e-531837a55211 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.56 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0c4ecbe7-d377-4145-95a0-dd18f262c723 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.249.83 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 8d1e9966-30b4-477d-bdd2-9f367f104b1a | basic_29-vnf-dataVM-0 | ACTIVE | basic_29-internal=2001:db8::37b | ubuntu20.04 | simple_requires-1-1-flv | | 98186cbd-36db-4218-bfd0-ec8a2345af23 | basic_29-vnf-mgmtVM-0 | ACTIVE | basic_29-internal=2001:db8::9f; osm-ext=172.21.249.177 | ubuntu20.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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 -f yaml | yq '.[] | select(.Resource=="${field}") | .Limit' Runs the given command in the system and returns the RC and output. Running command 'openstack quota show -f yaml | yq '.[] | select(.Resource=="ram") | .Limit' 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 214f1d7a-b34d-4995-8c00-a2837b90e46e ${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} = 214f1d7a-b34d-4995-8c00-a2837b90e46e 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 cb22c32c-44e0-4c64-ba22-06bfaa2534e6 ${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} = cb22c32c-44e0-4c64-ba22-06bfaa2534e6 cluster_main daily fail_01 regression ${rand} 4 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 9540 ${ns_name} SEPARATOR=_ ${ns_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${ns_name} = fail_01_9540 ${ns_name} Makes a variable available everywhere within the scope of the current suite. ${ns_name} = fail_01_9540 ${ns_name} Logs the given message with the given level. fail_01_9540 ${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_9540 --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} = 763fce04-8c38-4ad1-8e25-bb32cd1ee464 ${stdout} Logs the given message with the given level. 763fce04-8c38-4ad1-8e25-bb32cd1ee464 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 763fce04-8c38-4ad1-8e25-bb32cd1ee464 ${id} Logs the given message with the given level. 763fce04-8c38-4ad1-8e25-bb32cd1ee464 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 763fce04-8c38-4ad1-8e25-bb32cd1ee464 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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_9540" 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_9540 | 763fce04-8c38-4ad1-8e25-bb32cd1ee464 | 2024-04-16T00:28:49 | BUILDING | INSTANTIATING (0fe72d72-cdad-4cce-9be2-0889853eb485) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_9540 | 763fce04-8c38-4ad1-8e25-bb32cd1ee464 | 2024-04-16T00:28:49 | BUILDING | INSTANTIATING (0fe72d72-cdad-4cce-9be2-0889853eb485) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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_9540" 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_9540 | 763fce04-8c38-4ad1-8e25-bb32cd1ee464 | 2024-04-16T00:28:49 | BUILDING | INSTANTIATING (0fe72d72-cdad-4cce-9be2-0889853eb485) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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_9540 | 763fce04-8c38-4ad1-8e25-bb32cd1ee464 | 2024-04-16T00:28:49 | BUILDING | INSTANTIATING (0fe72d72-cdad-4cce-9be2-0889853eb485) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9bfdc791-1daa-4b10-a047-2e9d6038541e | fail_01_9540-vnf-mgmtVM-0 | ACTIVE | fail_01_9540-internal=192.168.233.73; osm-ext=172.21.248.209 | ubuntu20.04 | simple_requires-1-1-flv | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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_9540" 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_9540 | 763fce04-8c38-4ad1-8e25-bb32cd1ee464 | 2024-04-16T00:28:49 | BROKEN | IDLE (None) | Operation: INSTANTIATING.0fe72d72-cdad- | | | | | | | 4cce-9be2-0889853eb485, 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 192512 of 327680 ram (HTTP 403) | | | | | | | (Request-ID: req-27d0974c-dbc0-4fb1- | | | | | | | 9e3b-f1e5e87699ab) | +------------------+--------------------------------------+---------------------+----------+-------------------+-----------------------------------------+ To get the history of all operations 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="763fce04-8c38-4ad1-8e25-bb32cd1ee464" | grep 763fce04-8c38-4ad1-8e25-bb32cd1ee464 | 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 763fce04-8c38-4ad1-8e25-bb32cd1ee464 --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 192512 of 327680 ram (HTTP 403) (Request-ID: req-27d0974c-dbc0-4fb1-9e3b-f1e5e87699ab)" ${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 192512 of 327680 ram (HTTP 403) (Request-ID: req-27d0974c-dbc0-4fb1-9e3b-f1e5e87699ab)" ${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_9540 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 | +--------------------------------------+---------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 9bfdc791-1daa-4b10-a047-2e9d6038541e | fail_01_9540-vnf-mgmtVM-0 | ACTIVE | fail_01_9540-internal=192.168.233.73; osm-ext=172.21.248.209 | ubuntu20.04 | simple_requires-1-1-flv | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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_9540 2>&1'. ${rc} = 0 ${stdout} = fail_01_9540 ${stdout} ${ns} Fails if objects are equal after converting them to strings. fail_01_9540 == fail_01_9540 ${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 | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ ${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_9540 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_9540 | 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 049582f4-f2b4-426d-9641-e93c00cf194b ${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} = 049582f4-f2b4-426d-9641-e93c00cf194b 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 c766f169-178e-4a99-b638-5ef2649ff49d ${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} = c766f169-178e-4a99-b638-5ef2649ff49d 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} = d084b254-02f5-42a7-a668-1342c29fd8fd ${stdout} Logs the given message with the given level. d084b254-02f5-42a7-a668-1342c29fd8fd ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d084b254-02f5-42a7-a668-1342c29fd8fd ${ns_id} Logs the given message with the given level. d084b254-02f5-42a7-a668-1342c29fd8fd ${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 | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ ${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 | d084b254-02f5-42a7-a668-1342c29fd8fd | 2024-04-16T00:30:07 | BUILDING | INSTANTIATING (58227e61-120d-4cac-be4d-04338f694d32) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d084b254-02f5-42a7-a668-1342c29fd8fd | 2024-04-16T00:30:07 | BUILDING | INSTANTIATING (58227e61-120d-4cac-be4d-04338f694d32) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 8c00d0c8-6a90-4a71-8d7c-721c3ec84c31 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | d084b254-02f5-42a7-a668-1342c29fd8fd | 2024-04-16T00:30:07 | 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 | +--------------------------------------+---------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 8c00d0c8-6a90-4a71-8d7c-721c3ec84c31 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | d084b254-02f5-42a7-a668-1342c29fd8fd | 2024-04-16T00:30:07 | 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} = d084b254-02f5-42a7-a668-1342c29fd8fd ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d084b254-02f5-42a7-a668-1342c29fd8fd 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 d084b254-02f5-42a7-a668-1342c29fd8fd | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.30 ${stdout} Logs the given message with the given level. 172.21.248.30 ${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.30 ${ip_addr} Logs the given message with the given level. 172.21.248.30 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.30 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.248.30 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.248.30 (172.21.248.30) 56(84) bytes of data. 64 bytes from 172.21.248.30: icmp_seq=1 ttl=63 time=3.09 ms 64 bytes from 172.21.248.30: icmp_seq=2 ttl=63 time=0.634 ms --- 172.21.248.30 pin... ${stdout} Logs the given message with the given level. PING 172.21.248.30 (172.21.248.30) 56(84) bytes of data. 64 bytes from 172.21.248.30: icmp_seq=1 ttl=63 time=3.09 ms 64 bytes from 172.21.248.30: icmp_seq=2 ttl=63 time=0.634 ms --- 172.21.248.30 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.634/1.864/3.094/1.230 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.248.30: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 Tue Apr 16 00:31:18 UTC 2024 System load: 0.61 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.30 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} = +--------------------------------------+---------------------------------+--------+---------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 8c00d0c8-6a90-4a71-8d7c-721c3ec84c31 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.30 | ubuntu20.04 | simple_requires-1-1-flv | | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ ${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 9afa980a-b2c2-47c4-a46d-ebe796b2f36a ${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} = 9afa980a-b2c2-47c4-a46d-ebe796b2f36a 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 7b1639b4-f89f-472c-ba3b-6f0b721d3d6a ${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} = 7b1639b4-f89f-472c-ba3b-6f0b721d3d6a 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} = 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 ${stdout} Logs the given message with the given level. 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 ${ns_id} Logs the given message with the given level. 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 ${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 | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+----------------------+ ${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 | 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 | 2024-04-16T00:31:54 | BUILDING | INSTANTIATING (a7db9f81-6b98-4055-9da2-9de777e3ff1b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 | 2024-04-16T00:31:54 | BUILDING | INSTANTIATING (a7db9f81-6b98-4055-9da2-9de777e3ff1b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 5da0984f-7abb-470a-8400-b3de1d4c8600 | hfcloudinit-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 85821e79-7b2c-457c-9a87-a958de48cd9c | hfcloudinit-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 68e2f6ad-101c-4e1e-b098-5c9ed9b9d414 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.117.188; hfcloudinit-internal=192.168.255.61 | ubuntu20.04 | simple_requires-1-1-flv | | 14c74fcb-7c15-48db-8a7b-de51311f3456 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.255.233; osm-ext=172.21.248.221 | ubuntu20.04 | simple_requires-1-1-flv | | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::3be; basic_30-datanet2=192.168.20.146; basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::2c2; basic_30-datanet2=192.168.20.222; basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+----------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 | 2024-04-16T00:31:54 | BUILDING | INSTANTIATING (a7db9f81-6b98-4055-9da2-9de777e3ff1b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 | 2024-04-16T00:31:54 | BUILDING | INSTANTIATING (a7db9f81-6b98-4055-9da2-9de777e3ff1b) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 5da0984f-7abb-470a-8400-b3de1d4c8600 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.117.244; hfcloudinit-internal=192.168.4.38 | ubuntu20.04 | simple_requires-1-1-flv | | 85821e79-7b2c-457c-9a87-a958de48cd9c | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.163; osm-ext=172.21.249.28 | ubuntu20.04 | simple_requires-1-1-flv | | 68e2f6ad-101c-4e1e-b098-5c9ed9b9d414 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.117.188; hfcloudinit-internal=192.168.255.61 | ubuntu20.04 | simple_requires-1-1-flv | | 14c74fcb-7c15-48db-8a7b-de51311f3456 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.255.233; osm-ext=172.21.248.221 | ubuntu20.04 | simple_requires-1-1-flv | | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet3=192.168.30.6; osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet3=192.168.30.112; osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 | 2024-04-16T00:31: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} = +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 5da0984f-7abb-470a-8400-b3de1d4c8600 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.117.244; hfcloudinit-internal=192.168.4.38 | ubuntu20.04 | simple_requires-1-1-flv | | 85821e79-7b2c-457c-9a87-a958de48cd9c | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.163; osm-ext=172.21.249.28 | ubuntu20.04 | simple_requires-1-1-flv | | 68e2f6ad-101c-4e1e-b098-5c9ed9b9d414 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.117.188; hfcloudinit-internal=192.168.255.61 | ubuntu20.04 | simple_requires-1-1-flv | | 14c74fcb-7c15-48db-8a7b-de51311f3456 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.255.233; osm-ext=172.21.248.221 | ubuntu20.04 | simple_requires-1-1-flv | | 8075e043-5a59-40b1-913a-6360f9fb6e7d | basic_30-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.234 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 1e47d24b-8ac3-4baa-a9ff-0f643dd376ce | basic_30-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 | 2024-04-16T00:31: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} = 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 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 4b14c4b1-d30c-4e3e-89a0-d03744b399d9 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.221 ${stdout} Logs the given message with the given level. 172.21.248.221 ${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.221 ${ip_addr} Logs the given message with the given level. 172.21.248.221 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.221 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.248.221: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 Tue Apr 16 00:33:38 UTC 2024 System load: 0.95 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 20% IPv4 address for ens3: 172.21.248.221 Swap usage: 0% IPv4 address for ens4: 192.168.255.233 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.248.221: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 Tue Apr 16 00:33:41 UTC 2024 System load: 0.95 Processes: 105 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.221 Swap usage: 0% IPv4 address for ens4: 192.168.255.233 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: Tue Apr 16 00:33:39 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} = +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 5da0984f-7abb-470a-8400-b3de1d4c8600 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.117.244; hfcloudinit-internal=192.168.4.38 | ubuntu20.04 | simple_requires-1-1-flv | | 85821e79-7b2c-457c-9a87-a958de48cd9c | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.163; osm-ext=172.21.249.28 | ubuntu20.04 | simple_requires-1-1-flv | | 68e2f6ad-101c-4e1e-b098-5c9ed9b9d414 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.117.188; hfcloudinit-internal=192.168.255.61 | ubuntu20.04 | simple_requires-1-1-flv | | 14c74fcb-7c15-48db-8a7b-de51311f3456 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.255.233; osm-ext=172.21.248.221 | ubuntu20.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | e65644b8-0b46-41ac-90c9-7f154fbbb43e | multivdu_multiat-vnf-dataVM-0 | BUILD | | ubuntu22.04 | mgmtVM-vnf-1-flv | | 0576e9ef-3d41-4108-a75c-456004fbf4fc | multivdu_multiat-vnf-mgmtVM-0 | BUILD | | ubuntu22.04 | mgmtVM-vnf-1-flv | | 5da0984f-7abb-470a-8400-b3de1d4c8600 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.38 | ubuntu20.04 | simple_requires-1-1-flv | | 85821e79-7b2c-457c-9a87-a958de48cd9c | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.4.163; osm-ext=172.21.249.28 | ubuntu20.04 | simple_requires-1-1-flv | | 68e2f6ad-101c-4e1e-b098-5c9ed9b9d414 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 14c74fcb-7c15-48db-8a7b-de51311f3456 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.221 | ubuntu20.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${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 | Name ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------+--------+------------------------+-------------+----------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------+--------+------------------------+-------------+----------------------+ | e65644b8-0b46-41ac-90c9-7f154fbbb43e | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.27 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 0576e9ef-3d41-4108-a75c-456004fbf4fc | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.194 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------+-------------+----------------------+ ${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 eca6ca96-9928-4b9e-b2c5-9b818479954f ${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} = eca6ca96-9928-4b9e-b2c5-9b818479954f 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 75b99fcc-a855-4eff-aee5-96598446d954 ${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} = 75b99fcc-a855-4eff-aee5-96598446d954 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} = 23a56b26-bd1f-4fb4-b4ab-1d8916110419 ${stdout} Logs the given message with the given level. 23a56b26-bd1f-4fb4-b4ab-1d8916110419 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 23a56b26-bd1f-4fb4-b4ab-1d8916110419 ${ns_id} Logs the given message with the given level. 23a56b26-bd1f-4fb4-b4ab-1d8916110419 ${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 | +--------------------------------------+-------------------------------+--------+------------------------+-------------+----------------------+ | e65644b8-0b46-41ac-90c9-7f154fbbb43e | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.27 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 0576e9ef-3d41-4108-a75c-456004fbf4fc | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.194 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------+-------------+----------------------+ ${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 | 23a56b26-bd1f-4fb4-b4ab-1d8916110419 | 2024-04-16T00:34:33 | BUILDING | INSTANTIATING (f9303cbc-0ba5-41e3-b651-c2ad960f37a1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 23a56b26-bd1f-4fb4-b4ab-1d8916110419 | 2024-04-16T00:34:33 | BUILDING | INSTANTIATING (f9303cbc-0ba5-41e3-b651-c2ad960f37a1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ | fa798aab-4dab-4337-b253-27e46f690cf1 | hfmultivdu-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 7d85fb57-f642-459f-a39c-c7329600f8d5 | hfmultivdu-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | e1bd9c79-7fc9-4b7a-a436-b3b01a3a715a | hfmultivdu-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 20942410-e57e-404d-8631-5efeb4c5715d | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.103.12; osm-ext=172.21.249.227 | ubuntu20.04 | simple_requires-1-1-flv | | e65644b8-0b46-41ac-90c9-7f154fbbb43e | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.27 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 0576e9ef-3d41-4108-a75c-456004fbf4fc | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.194 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ ${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 | 23a56b26-bd1f-4fb4-b4ab-1d8916110419 | 2024-04-16T00:34:33 | BUILDING | INSTANTIATING (f9303cbc-0ba5-41e3-b651-c2ad960f37a1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 23a56b26-bd1f-4fb4-b4ab-1d8916110419 | 2024-04-16T00:34:33 | BUILDING | INSTANTIATING (f9303cbc-0ba5-41e3-b651-c2ad960f37a1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | fa798aab-4dab-4337-b253-27e46f690cf1 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.106.16; hfmultivdu-internal=192.168.90.247 | ubuntu20.04 | simple_requires-1-1-flv | | 7d85fb57-f642-459f-a39c-c7329600f8d5 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.90.125; osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e1bd9c79-7fc9-4b7a-a436-b3b01a3a715a | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.106.249; hfmultivdu-internal=192.168.103.94 | ubuntu20.04 | simple_requires-1-1-flv | | 20942410-e57e-404d-8631-5efeb4c5715d | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.103.12; osm-ext=172.21.249.227 | ubuntu20.04 | simple_requires-1-1-flv | | e65644b8-0b46-41ac-90c9-7f154fbbb43e | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.27 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 0576e9ef-3d41-4108-a75c-456004fbf4fc | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.194 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 23a56b26-bd1f-4fb4-b4ab-1d8916110419 | 2024-04-16T00:34:33 | 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 | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | fa798aab-4dab-4337-b253-27e46f690cf1 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.106.16; hfmultivdu-internal=192.168.90.247 | ubuntu20.04 | simple_requires-1-1-flv | | 7d85fb57-f642-459f-a39c-c7329600f8d5 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.90.125; osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e1bd9c79-7fc9-4b7a-a436-b3b01a3a715a | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.106.249; hfmultivdu-internal=192.168.103.94 | ubuntu20.04 | simple_requires-1-1-flv | | 20942410-e57e-404d-8631-5efeb4c5715d | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.103.12; osm-ext=172.21.249.227 | ubuntu20.04 | simple_requires-1-1-flv | | e65644b8-0b46-41ac-90c9-7f154fbbb43e | multivdu_multiat-vnf-dataVM-0 | ACTIVE | osm-ext=172.21.249.27 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 0576e9ef-3d41-4108-a75c-456004fbf4fc | multivdu_multiat-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.194 | ubuntu22.04 | mgmtVM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 23a56b26-bd1f-4fb4-b4ab-1d8916110419 | 2024-04-16T00:34:33 | 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} = 23a56b26-bd1f-4fb4-b4ab-1d8916110419 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 23a56b26-bd1f-4fb4-b4ab-1d8916110419 ${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 23a56b26-bd1f-4fb4-b4ab-1d8916110419 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.227 ${stdout} Logs the given message with the given level. 172.21.249.227 ${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.227 ${ip_addr} Logs the given message with the given level. 172.21.249.227 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.249.227 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.249.227 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.227 (172.21.249.227) 56(84) bytes of data. 64 bytes from 172.21.249.227: icmp_seq=1 ttl=63 time=2.65 ms 64 bytes from 172.21.249.227: icmp_seq=2 ttl=63 time=0.867 ms --- 172.21.249.22... ${stdout} Logs the given message with the given level. PING 172.21.249.227 (172.21.249.227) 56(84) bytes of data. 64 bytes from 172.21.249.227: icmp_seq=1 ttl=63 time=2.65 ms 64 bytes from 172.21.249.227: icmp_seq=2 ttl=63 time=0.867 ms --- 172.21.249.227 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.867/1.757/2.647/0.890 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.249.227: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 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} = +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | fa798aab-4dab-4337-b253-27e46f690cf1 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.106.16; hfmultivdu-internal=192.168.90.247 | ubuntu20.04 | simple_requires-1-1-flv | | 7d85fb57-f642-459f-a39c-c7329600f8d5 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.90.125; osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | e1bd9c79-7fc9-4b7a-a436-b3b01a3a715a | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.106.249; hfmultivdu-internal=192.168.103.94 | ubuntu20.04 | simple_requires-1-1-flv | | 20942410-e57e-404d-8631-5efeb4c5715d | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.103.12; osm-ext=172.21.249.227 | ubuntu20.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ | fa798aab-4dab-4337-b253-27e46f690cf1 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.90.247 | ubuntu20.04 | simple_requires-1-1-flv | | 7d85fb57-f642-459f-a39c-c7329600f8d5 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.90.125; osm-ext=172.21.248.147 | ubuntu20.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 475ce1d8-ea0e-4ab2-94fb-c3adfd66195d | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.51.111; osm-ext=172.21.249.233 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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 cddd38f8-d19c-47ed-9bdd-db630f0b86b8 ${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} = cddd38f8-d19c-47ed-9bdd-db630f0b86b8 '%{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 ff03ec86-603b-45b2-a752-39fb435bbd33 ${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} = ff03ec86-603b-45b2-a752-39fb435bbd33 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 ffac72ec-2943-4879-b687-382c1f54464a ${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} = ffac72ec-2943-4879-b687-382c1f54464a cluster_heal daily heal_01 ${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} = 360.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} = 360.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 360.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} = 27dd231c-3f71-4280-8b98-ca477507d2ac ${stdout} Logs the given message with the given level. 27dd231c-3f71-4280-8b98-ca477507d2ac ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 27dd231c-3f71-4280-8b98-ca477507d2ac ${ns_id} Logs the given message with the given level. 27dd231c-3f71-4280-8b98-ca477507d2ac ${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 | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 475ce1d8-ea0e-4ab2-94fb-c3adfd66195d | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.51.111; osm-ext=172.21.249.233 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 475ce1d8-ea0e-4ab2-94fb-c3adfd66195d | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.51.111; osm-ext=172.21.249.233 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 475ce1d8-ea0e-4ab2-94fb-c3adfd66195d | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.51.111; osm-ext=172.21.249.233 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 459f2dda-164f-4f87-8cd3-cdc8567cec13 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.249.184 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | BUILDING | INSTANTIATING (bfde2d21-3a35-4536-b8e4-2a06e276f3b9) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 8b062526-42c4-4a85-9bdc-292a21d42b86 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.24 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | 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 | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ | 8b062526-42c4-4a85-9bdc-292a21d42b86 | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.249.24 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 55d65335-a38f-45ab-a40d-359181a036a5 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+--------------------------------------------------------+-------------+-----------------------------------+ ${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 | 27dd231c-3f71-4280-8b98-ca477507d2ac | 2024-04-16T00:37:31 | 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} = 27dd231c-3f71-4280-8b98-ca477507d2ac ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 27dd231c-3f71-4280-8b98-ca477507d2ac 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 --ns ${ns_id} | 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 --ns 27dd231c-3f71-4280-8b98-ca477507d2ac | grep 27dd231c-3f71-4280-8b98-ca477507d2ac | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 1a793964-2db9-4997-b868-fcfd18db2b63 c780c63f-3c5b-48fb-afe2-0804b24acd9d ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 1a793964-2db9-4997-b868-fcfd18db2b63 | c780c63f-3c5b-48fb-afe2-0804b24acd9d ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 1a793964-2db9-4997-b868-fcfd18db2b63 1: c780c63f-3c5b-48fb-afe2-0804b24acd9d @{vnf_id_list} = [ 1a793964-2db9-4997-b868-fcfd18db2b63 | c780c63f-3c5b-48fb-afe2-0804b24acd9d ] ${vnf_id_list} Logs the given message with the given level. ['1a793964-2db9-4997-b868-fcfd18db2b63', 'c780c63f-3c5b-48fb-afe2-0804b24acd9d'] ${vnf_id} @{vnf_id_list} 1a793964-2db9-4997-b868-fcfd18db2b63 ${vnf_id} Logs the given message with the given level. 1a793964-2db9-4997-b868-fcfd18db2b63 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1a793964-2db9-4997-b868-fcfd18db2b63 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 55d65335-a38f-45ab-a40d-359181a036a5 ${stdout} Logs the given message with the given level. 55d65335-a38f-45ab-a40d-359181a036a5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 55d65335-a38f-45ab-a40d-359181a036a5 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 55d65335-a38f-45ab-a40d-359181a036a5 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. c780c63f-3c5b-48fb-afe2-0804b24acd9d ${vnf_id} Logs the given message with the given level. c780c63f-3c5b-48fb-afe2-0804b24acd9d ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c780c63f-3c5b-48fb-afe2-0804b24acd9d --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d ${stdout} Logs the given message with the given level. 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 2b5c466a-55c8-4566-8937-ad194ba32ece | 7c0298df-8257-4e31-8d83-6e0746e7d71d ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 55d65335-a38f-45ab-a40d-359181a036a5 ${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 55d65335-a38f-45ab-a40d-359181a036a5 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c5c5e3b2-55eb-4d41-8a21-b478af00bd38'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 2b5c466a-55c8-4566-8937-ad194ba32ece ${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 2b5c466a-55c8-4566-8937-ad194ba32ece -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``. 7c0298df-8257-4e31-8d83-6e0746e7d71d ${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 7c0298df-8257-4e31-8d83-6e0746e7d71d -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. 55d65335-a38f-45ab-a40d-359181a036a5 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d @{vim_volumes} Logs the given messages as separate entries using the INFO level. c5c5e3b2-55eb-4d41-8a21-b478af00bd38 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 27dd231c-3f71-4280-8b98-ca477507d2ac | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.189 ${stdout} Logs the given message with the given level. 172.21.248.189 ${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.189 ${ip_addr} Logs the given message with the given level. 172.21.248.189 ${vnf_volumes_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_ip_addr} = 172.21.248.189 ${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 27dd231c-3f71-4280-8b98-ca477507d2ac | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 1a793964-2db9-4997-b868-fcfd18db2b63 ${stdout} Logs the given message with the given level. 1a793964-2db9-4997-b868-fcfd18db2b63 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 1a793964-2db9-4997-b868-fcfd18db2b63 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = 1a793964-2db9-4997-b868-fcfd18db2b63 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1a793964-2db9-4997-b868-fcfd18db2b63 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 55d65335-a38f-45ab-a40d-359181a036a5 ${stdout} Logs the given message with the given level. 55d65335-a38f-45ab-a40d-359181a036a5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 55d65335-a38f-45ab-a40d-359181a036a5 ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 55d65335-a38f-45ab-a40d-359181a036a5 ${vdu_volumes_id} Logs the given message with the given level. 55d65335-a38f-45ab-a40d-359181a036a5 @{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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1a793964-2db9-4997-b868-fcfd18db2b63 --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.189 ${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.189 ] @{volumes_ip_list} = [ 172.21.248.189 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.248.189 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.248.189 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 55d65335-a38f-45ab-a40d-359181a036a5 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c5c5e3b2-55eb-4d41-8a21-b478af00bd38'] ${volume_id} ${match}[0] Makes a variable available everywhere within the scope of the current suite. ${volume_id} = c5c5e3b2-55eb-4d41-8a21-b478af00bd38 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.248.189: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 Tue Apr 16 00:42:08 UTC 2024 System load: 0.01 Processes: 104 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.189 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 55d65335-a38f-45ab-a40d-359181a036a5 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 27dd231c-3f71-4280-8b98-ca477507d2ac --vnf 1a793964-2db9-4997-b868-fcfd18db2b63 --cause "Heal VM of volumes_vnf" --vdu several_volumes-VM 2>&1'. ${rc} = 0 ${stdout} = 1a04fe9f-36c6-4407-9a24-c6dfaa4bebbf ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1a04fe9f-36c6-4407-9a24-c6dfaa4bebbf --literal | yq -r .operationState 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 1a04fe9f-36c6-4407-9a24-c6dfaa4bebbf ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1a04fe9f-36c6-4407-9a24-c6dfaa4bebbf --literal | yq -r .operationState 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 1a04fe9f-36c6-4407-9a24-c6dfaa4bebbf ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1a04fe9f-36c6-4407-9a24-c6dfaa4bebbf --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 1a04fe9f-36c6-4407-9a24-c6dfaa4bebbf --literal | yq -r .operationState 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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1a793964-2db9-4997-b868-fcfd18db2b63 --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.189 ${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.189 ] @{ip_list} = [ 172.21.248.189 ] @{ip_list} Logs the given message with the given level. 172.21.248.189 ${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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1a793964-2db9-4997-b868-fcfd18db2b63 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 970f962d-0f8d-4db8-b110-03717d685f38 ${stdout} Logs the given message with the given level. 970f962d-0f8d-4db8-b110-03717d685f38 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 970f962d-0f8d-4db8-b110-03717d685f38 ${id} Logs the given message with the given level. 970f962d-0f8d-4db8-b110-03717d685f38 ${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 970f962d-0f8d-4db8-b110-03717d685f38 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c5c5e3b2-55eb-4d41-8a21-b478af00bd38'] ${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.248.189: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 Tue Apr 16 00:43:42 UTC 2024 System load: 0.94 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.189 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 --ns ${ns_id} | 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 --ns 27dd231c-3f71-4280-8b98-ca477507d2ac | grep 27dd231c-3f71-4280-8b98-ca477507d2ac | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 1a793964-2db9-4997-b868-fcfd18db2b63 c780c63f-3c5b-48fb-afe2-0804b24acd9d ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 1a793964-2db9-4997-b868-fcfd18db2b63 | c780c63f-3c5b-48fb-afe2-0804b24acd9d ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 1a793964-2db9-4997-b868-fcfd18db2b63 1: c780c63f-3c5b-48fb-afe2-0804b24acd9d @{vnf_id_list} = [ 1a793964-2db9-4997-b868-fcfd18db2b63 | c780c63f-3c5b-48fb-afe2-0804b24acd9d ] ${vnf_id} @{vnf_id_list} 1a793964-2db9-4997-b868-fcfd18db2b63 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 1a793964-2db9-4997-b868-fcfd18db2b63 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 970f962d-0f8d-4db8-b110-03717d685f38 ${stdout} Logs the given message with the given level. 970f962d-0f8d-4db8-b110-03717d685f38 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 970f962d-0f8d-4db8-b110-03717d685f38 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 970f962d-0f8d-4db8-b110-03717d685f38 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 970f962d-0f8d-4db8-b110-03717d685f38 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. c780c63f-3c5b-48fb-afe2-0804b24acd9d ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c780c63f-3c5b-48fb-afe2-0804b24acd9d --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d ${stdout} Logs the given message with the given level. 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 2b5c466a-55c8-4566-8937-ad194ba32ece | 7c0298df-8257-4e31-8d83-6e0746e7d71d ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 2b5c466a-55c8-4566-8937-ad194ba32ece ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 7c0298df-8257-4e31-8d83-6e0746e7d71d ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} 970f962d-0f8d-4db8-b110-03717d685f38 ${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 970f962d-0f8d-4db8-b110-03717d685f38 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': 'c5c5e3b2-55eb-4d41-8a21-b478af00bd38', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['c5c5e3b2-55eb-4d41-8a21-b478af00bd38'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 2b5c466a-55c8-4566-8937-ad194ba32ece ${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 2b5c466a-55c8-4566-8937-ad194ba32ece -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``. 7c0298df-8257-4e31-8d83-6e0746e7d71d ${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 7c0298df-8257-4e31-8d83-6e0746e7d71d -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. 55d65335-a38f-45ab-a40d-359181a036a5 2b5c466a-55c8-4566-8937-ad194ba32ece 7c0298df-8257-4e31-8d83-6e0746e7d71d 970f962d-0f8d-4db8-b110-03717d685f38 @{vim_volumes} Logs the given messages as separate entries using the INFO level. c5c5e3b2-55eb-4d41-8a21-b478af00bd38 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 970f962d-0f8d-4db8-b110-03717d685f38 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.129.79; osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.129.67; osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 970f962d-0f8d-4db8-b110-03717d685f38 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.189 | ubuntu20.04 | several_volumes-VM-flv | | dca63d32-f44b-4235-a609-6eba62abf80f | epa_04-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.248.191 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 0d525512-58c1-4880-a60c-977c5814ab28 | epa_04-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.248.142 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 7c0298df-8257-4e31-8d83-6e0746e7d71d | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.102 | ubuntu18.04 | simple_requires-1-1-flv | | 2b5c466a-55c8-4566-8937-ad194ba32ece | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.131 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} c5c5e3b2-55eb-4d41-8a21-b478af00bd38 Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume c5c5e3b2-55eb-4d41-8a21-b478af00bd38 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 c5c5e3b2-55eb-4d41-8a21-b478af00bd38 | 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} 55d65335-a38f-45ab-a40d-359181a036a5 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 55d65335-a38f-45ab-a40d-359181a036a5 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 55d65335-a38f-45ab-a40d-359181a036a5 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 55d65335-a38f-45ab-a40d-359181a036a5 ${stdout} Logs the given message with the given level. No Server found for 55d65335-a38f-45ab-a40d-359181a036a5 ${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. 2b5c466a-55c8-4566-8937-ad194ba32ece Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 2b5c466a-55c8-4566-8937-ad194ba32ece 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 2b5c466a-55c8-4566-8937-ad194ba32ece -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 2b5c466a-55c8-4566-8937-ad194ba32ece ${stdout} Logs the given message with the given level. No Server found for 2b5c466a-55c8-4566-8937-ad194ba32ece ${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. 7c0298df-8257-4e31-8d83-6e0746e7d71d Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 7c0298df-8257-4e31-8d83-6e0746e7d71d 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 7c0298df-8257-4e31-8d83-6e0746e7d71d -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 7c0298df-8257-4e31-8d83-6e0746e7d71d ${stdout} Logs the given message with the given level. No Server found for 7c0298df-8257-4e31-8d83-6e0746e7d71d ${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. 970f962d-0f8d-4db8-b110-03717d685f38 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 970f962d-0f8d-4db8-b110-03717d685f38 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 970f962d-0f8d-4db8-b110-03717d685f38 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 970f962d-0f8d-4db8-b110-03717d685f38 ${stdout} Logs the given message with the given level. No Server found for 970f962d-0f8d-4db8-b110-03717d685f38 ${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 13471adf-a219-491c-a5b1-36049bf3444b ${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} = 13471adf-a219-491c-a5b1-36049bf3444b '%{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 9ec31d85-f4b3-4088-a243-682977804478 ${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} = 9ec31d85-f4b3-4088-a243-682977804478 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 bc656307-dc25-4cdf-b43e-b5a38db14463 ${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} = bc656307-dc25-4cdf-b43e-b5a38db14463 cluster_heal daily heal_02 ${rand} 6 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 935690 ${flavor_name} SEPARATOR=_ ${flavor_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${flavor_name} = osm.heal02_935690 ${id} ${flavor_name} 1 1024 10 Create a Flavor ${flavor_name} Verifies that the given item is not empty. Length is 17 ${rc} ${flavor_id} openstack flavor create ${flavor_name} --ram ${ram} --disk ${disk} --vcpus ${cpu} -c id -f value Runs the given command in the system and returns the RC and output. Running command 'openstack flavor create osm.heal02_935690 --ram 1024 --disk 10 --vcpus 1 -c id -f value 2>&1'. ${rc} = 0 ${flavor_id} = 5e8283fe-521d-46bc-b789-05df57315672 ${flavor_id} Logs the given message with the given level. 5e8283fe-521d-46bc-b789-05df57315672 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 5e8283fe-521d-46bc-b789-05df57315672 ${flavor_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${flavor_id} = 5e8283fe-521d-46bc-b789-05df57315672 cluster_heal daily heal_02 ${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}}],vnf: [ {member-vnf-index: charm_vnf, vdu: [{ id: mgmtVM, vim-flavor-id: ${flavor_id}}]}] } Returns the given values which can then be assigned to a variables. ${ns_config} = {vld: [ {name: mgmtnet, vim-network-name: osm-ext}],vnf: [ {member-vnf-index: charm_vnf, vdu: [{ id: mgmtVM, vim-flavor-id: 5e8283fe-521d-46bc-b789-05df57315672}]}] } ${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} = 360.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} = 360.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 360.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}],vnf: [ {member-vnf-index: charm_vnf, vdu: [{ id: mgmtVM, vim-flavor-id: 5e8283fe-521d-46bc-b789-05df57315672}]}] }' ${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}],vnf: [ {member-vnf-index: charm_vnf, vdu: [{ id: mgmtVM, vim-flavor-id: 5e8283fe-521d-46bc-b789-05df57315672}]}] }' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 55bff281-9749-448c-b00e-5af8e167650e ${stdout} Logs the given message with the given level. 55bff281-9749-448c-b00e-5af8e167650e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 55bff281-9749-448c-b00e-5af8e167650e ${ns_id} Logs the given message with the given level. 55bff281-9749-448c-b00e-5af8e167650e ${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 | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 959b32fd-5d57-41ca-9321-7eb4b6892f10 | fail_01_9746-vnf-mgmtVM-0 | ACTIVE | fail_01_9746-internal=192.168.198.97; osm-ext=172.21.249.24 | ubuntu20.04 | simple_requires-1-1-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 6a582d03-0a3b-4250-bbc6-8d61fe553fb2 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.208 | ubuntu20.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 6a582d03-0a3b-4250-bbc6-8d61fe553fb2 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.208 | ubuntu20.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 628e2bb7-b1ad-4899-b8ab-be4eeaff16ae | basic_06_charm_t-vnf2-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.215; osm-ext=172.21.248.76 | ubuntu18.04 | simple_requires-1-1-flv | | fd1580d9-e6e1-4d49-9ca5-f0c02e316e8c | basic_06_charm_t-vnf1-mgmtVM-0 | ACTIVE | basic_06_charm_t-datanet=192.168.238.111; osm-ext=172.21.248.73 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 3bd3a500-879f-4ffd-9663-d62b62e68d83 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.102; hfcloudinit-internal=192.168.200.11 | ubuntu20.04 | simple_requires-1-1-flv | | a50587a2-4d71-4d18-92a0-bed45b71974b | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.200.231; osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 46eea94d-fcaa-4268-beff-7fec39fc63f7 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.47; hfcloudinit-internal=192.168.66.25 | ubuntu20.04 | simple_requires-1-1-flv | | b70182a3-1391-435c-94a4-9f67427ba1b9 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.66.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | BUILDING | INSTANTIATING (6d351e04-4ce1-428d-a847-2bbc376fa366) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 3bd3a500-879f-4ffd-9663-d62b62e68d83 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.102; hfcloudinit-internal=192.168.200.11 | ubuntu20.04 | simple_requires-1-1-flv | | a50587a2-4d71-4d18-92a0-bed45b71974b | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.200.231; osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 46eea94d-fcaa-4268-beff-7fec39fc63f7 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.47; hfcloudinit-internal=192.168.66.25 | ubuntu20.04 | simple_requires-1-1-flv | | b70182a3-1391-435c-94a4-9f67427ba1b9 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.66.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ | 3bd3a500-879f-4ffd-9663-d62b62e68d83 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.102; hfcloudinit-internal=192.168.200.11 | ubuntu20.04 | simple_requires-1-1-flv | | a50587a2-4d71-4d18-92a0-bed45b71974b | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.200.231; osm-ext=172.21.249.106 | ubuntu20.04 | simple_requires-1-1-flv | | 46eea94d-fcaa-4268-beff-7fec39fc63f7 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.158.47; hfcloudinit-internal=192.168.66.25 | ubuntu20.04 | simple_requires-1-1-flv | | b70182a3-1391-435c-94a4-9f67427ba1b9 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.66.87; osm-ext=172.21.249.38 | ubuntu20.04 | simple_requires-1-1-flv | | c7ce8a1b-d8ee-4eea-90d3-bd62252ea973 | basic_07_secure_-vnf2-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.84; osm-ext=172.21.248.246 | ubuntu18.04 | simple_requires-1-1-flv | | 4c370162-6ac2-4830-ad94-b2988f713667 | basic_07_secure_-vnf1-mgmtVM-0 | ACTIVE | basic_07_secure_-datanet=192.168.36.187; osm-ext=172.21.248.117 | ubuntu18.04 | simple_requires-1-1-flv | | 20780fbf-aff8-401c-b815-e8c910791b50 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 55bff281-9749-448c-b00e-5af8e167650e | 2024-04-16T00:45:17 | 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} = 55bff281-9749-448c-b00e-5af8e167650e ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 55bff281-9749-448c-b00e-5af8e167650e 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 55bff281-9749-448c-b00e-5af8e167650e | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 346af4ec-8ed4-4399-bf25-c10742e68eba ${stdout} Logs the given message with the given level. 346af4ec-8ed4-4399-bf25-c10742e68eba ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 346af4ec-8ed4-4399-bf25-c10742e68eba ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = 346af4ec-8ed4-4399-bf25-c10742e68eba @{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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r .vdur[].name 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} = 300.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} = 300.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} = fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 fa107521-44b8-4c7e-864c-764516f2bb95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fa107521-44b8-4c7e-864c-764516f2bb95 --literal | yq -r .operationState 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r .vdur[].name 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 --ns ${ns_id} | 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 --ns 55bff281-9749-448c-b00e-5af8e167650e | grep 55bff281-9749-448c-b00e-5af8e167650e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 3cc77345-f9db-407f-a250-f60d03b3a757 346af4ec-8ed4-4399-bf25-c10742e68eba ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 3cc77345-f9db-407f-a250-f60d03b3a757 | 346af4ec-8ed4-4399-bf25-c10742e68eba ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 3cc77345-f9db-407f-a250-f60d03b3a757 1: 346af4ec-8ed4-4399-bf25-c10742e68eba @{vnf_id_list} = [ 3cc77345-f9db-407f-a250-f60d03b3a757 | 346af4ec-8ed4-4399-bf25-c10742e68eba ] ${vnf_id_list} Logs the given message with the given level. ['3cc77345-f9db-407f-a250-f60d03b3a757', '346af4ec-8ed4-4399-bf25-c10742e68eba'] ${vnf_id} @{vnf_id_list} 3cc77345-f9db-407f-a250-f60d03b3a757 ${vnf_id} Logs the given message with the given level. 3cc77345-f9db-407f-a250-f60d03b3a757 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3cc77345-f9db-407f-a250-f60d03b3a757 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = cc53d80c-d254-411e-b4d7-211b55525d95 ${stdout} Logs the given message with the given level. cc53d80c-d254-411e-b4d7-211b55525d95 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = cc53d80c-d254-411e-b4d7-211b55525d95 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ cc53d80c-d254-411e-b4d7-211b55525d95 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. 346af4ec-8ed4-4399-bf25-c10742e68eba ${vnf_id} Logs the given message with the given level. 346af4ec-8ed4-4399-bf25-c10742e68eba ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${stdout} Logs the given message with the given level. ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | 20780fbf-aff8-401c-b815-e8c910791b50 | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} cc53d80c-d254-411e-b4d7-211b55525d95 ${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 cc53d80c-d254-411e-b4d7-211b55525d95 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': '6a3c682d-499b-4fc0-a83e-0136ef531a88', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': '6a3c682d-499b-4fc0-a83e-0136ef531a88', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': '6a3c682d-499b-4fc0-a83e-0136ef531a88', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['6a3c682d-499b-4fc0-a83e-0136ef531a88'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ${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 ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 -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``. 20780fbf-aff8-401c-b815-e8c910791b50 ${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 20780fbf-aff8-401c-b815-e8c910791b50 -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``. 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${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 65b3fb73-d493-4e0f-8fd7-ed658f47e94a -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. cc53d80c-d254-411e-b4d7-211b55525d95 ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a @{vim_volumes} Logs the given messages as separate entries using the INFO level. 6a3c682d-499b-4fc0-a83e-0136ef531a88 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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${stdout} Logs the given message with the given level. ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | 20780fbf-aff8-401c-b815-e8c910791b50 | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | 20780fbf-aff8-401c-b815-e8c910791b50 | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ] ${vdu_charm_ids}[1] Logs the given message with the given level. 20780fbf-aff8-401c-b815-e8c910791b50 @{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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.105 192.168.178.234 172.21.248.219 192.168.178.195 172.21.248.49 192.168.178.189 ${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.105 | 192.168.178.234 | 172.21.248.219 | 192.168.178.195 | 172.21.248.49 | 192.168.178.189 ] @{charm_ip_list} = [ 172.21.248.105 | 192.168.178.234 | 172.21.248.219 | 192.168.178.195 | 172.21.248.49 | 192.168.178.189 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.248.105 | 192.168.178.234 | 172.21.248.219 | 192.168.178.195 | 172.21.248.49 | 192.168.178.189 ] 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 20780fbf-aff8-401c-b815-e8c910791b50 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 55bff281-9749-448c-b00e-5af8e167650e --vnf 346af4ec-8ed4-4399-bf25-c10742e68eba --cause "Heal VM of charm_vnf" --vdu mgmtVM --count-index 1 --run-day1 2>&1'. ${rc} = 0 ${stdout} = 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 2129d1fa-f9e8-457a-9913-0b0c9ab8a398 --literal | yq -r .operationState 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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.105 192.168.178.234 172.21.248.219 192.168.178.195 172.21.248.49 192.168.178.189 ${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.105 | 192.168.178.234 | 172.21.248.219 | 192.168.178.195 | 172.21.248.49 | 192.168.178.189 ] @{ip_list} = [ 172.21.248.105 | 192.168.178.234 | 172.21.248.219 | 192.168.178.195 | 172.21.248.49 | 192.168.178.189 ] ${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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ae79dead-9f8a-4f84-b8d0-db84f205e911 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${stdout} Logs the given message with the given level. ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ae79dead-9f8a-4f84-b8d0-db84f205e911 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ae79dead-9f8a-4f84-b8d0-db84f205e911 65b3fb73-d493-4e0f-8fd7-ed658f47e94a @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | ae79dead-9f8a-4f84-b8d0-db84f205e911 | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ] ${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 -r '."${attribute}"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq '.vdur[] | select(."count-index" == 1)' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.219 ${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.219 ${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.219: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 Tue Apr 16 00:56:36 UTC 2024 System load: 0.69 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.219 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 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.219: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 Tue Apr 16 00:56:39 UTC 2024 System load: 0.63 Processes: 90 Usage of /: 16.7% of 9.52GB Users logged in: 0 Memory usage: 18% IP address for ens3: 172.21.248.219 Swap usage: 0% Expanded Security Maintenance for Infrastructure is not enabled. 11 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: Tue Apr 16 00:56:37 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'> ${vim_info} ${vnf_charm_id} vim_info 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 8 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq '.vdur[] | select(."count-index" == ${count_index})' | yq -r '."${attribute}"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq '.vdur[] | select(."count-index" == 1)' | yq -r '."vim_info"' 2>&1'. ${rc} = 0 ${stdout} = { "vim:fd3ed49f-821a-43c8-be92-577b7c5b0858": { "interfaces": [ { "compute_node": "nfvisrv13", "ip_address": "172.21.248.219", "mac_address": "fa:16:3e:23:04:2f", ... ${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'> ${vim_info} = { "vim:fd3ed49f-821a-43c8-be92-577b7c5b0858": { "interfaces": [ { "compute_node": "nfvisrv13", "ip_address": "172.21.248.219", "mac_address": "fa:16:3e:23:04:2f", ... ${vim_info} id: ${flavor_id} msg=Flavor ID is incorrect Fails if ``container`` does not contain ``item`` one or more times. 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 --ns ${ns_id} | 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 --ns 55bff281-9749-448c-b00e-5af8e167650e | grep 55bff281-9749-448c-b00e-5af8e167650e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 3cc77345-f9db-407f-a250-f60d03b3a757 346af4ec-8ed4-4399-bf25-c10742e68eba ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 3cc77345-f9db-407f-a250-f60d03b3a757 | 346af4ec-8ed4-4399-bf25-c10742e68eba ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 3cc77345-f9db-407f-a250-f60d03b3a757 1: 346af4ec-8ed4-4399-bf25-c10742e68eba @{vnf_id_list} = [ 3cc77345-f9db-407f-a250-f60d03b3a757 | 346af4ec-8ed4-4399-bf25-c10742e68eba ] ${vnf_id} @{vnf_id_list} 3cc77345-f9db-407f-a250-f60d03b3a757 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3cc77345-f9db-407f-a250-f60d03b3a757 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = cc53d80c-d254-411e-b4d7-211b55525d95 ${stdout} Logs the given message with the given level. cc53d80c-d254-411e-b4d7-211b55525d95 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = cc53d80c-d254-411e-b4d7-211b55525d95 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ cc53d80c-d254-411e-b4d7-211b55525d95 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} cc53d80c-d254-411e-b4d7-211b55525d95 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 346af4ec-8ed4-4399-bf25-c10742e68eba ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 346af4ec-8ed4-4399-bf25-c10742e68eba --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ae79dead-9f8a-4f84-b8d0-db84f205e911 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${stdout} Logs the given message with the given level. ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ae79dead-9f8a-4f84-b8d0-db84f205e911 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ae79dead-9f8a-4f84-b8d0-db84f205e911 65b3fb73-d493-4e0f-8fd7-ed658f47e94a @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | ae79dead-9f8a-4f84-b8d0-db84f205e911 | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ae79dead-9f8a-4f84-b8d0-db84f205e911 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} cc53d80c-d254-411e-b4d7-211b55525d95 ${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 cc53d80c-d254-411e-b4d7-211b55525d95 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': '6a3c682d-499b-4fc0-a83e-0136ef531a88', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': '6a3c682d-499b-4fc0-a83e-0136ef531a88', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': '6a3c682d-499b-4fc0-a83e-0136ef531a88', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['6a3c682d-499b-4fc0-a83e-0136ef531a88'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ${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 ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 -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``. ae79dead-9f8a-4f84-b8d0-db84f205e911 ${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 ae79dead-9f8a-4f84-b8d0-db84f205e911 -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``. 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${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 65b3fb73-d493-4e0f-8fd7-ed658f47e94a -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. cc53d80c-d254-411e-b4d7-211b55525d95 ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 20780fbf-aff8-401c-b815-e8c910791b50 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ae79dead-9f8a-4f84-b8d0-db84f205e911 @{vim_volumes} Logs the given messages as separate entries using the INFO level. 6a3c682d-499b-4fc0-a83e-0136ef531a88 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | a78577bd-7407-443a-9945-e7d9d34b45da | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.178.195; osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.178.189; osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.178.234; osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | cc53d80c-d254-411e-b4d7-211b55525d95 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | ae79dead-9f8a-4f84-b8d0-db84f205e911 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.219 | ubuntu18.04 | osm.heal02_935690 | | 65b3fb73-d493-4e0f-8fd7-ed658f47e94a | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.49 | ubuntu18.04 | osm.heal02_935690 | | ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.105 | ubuntu18.04 | osm.heal02_935690 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 ${flavor_id} Delete a Flavor ${flavor_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} openstack flavor delete ${flavor_id} Runs the given command in the system and returns the RC and output. Running command 'openstack flavor delete 5e8283fe-521d-46bc-b789-05df57315672 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'> ${error} 0 Returns the given values which can then be assigned to a variables. ${error} = 0 ${vol_id} @{vim_volumes} 6a3c682d-499b-4fc0-a83e-0136ef531a88 Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume 6a3c682d-499b-4fc0-a83e-0136ef531a88 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 6a3c682d-499b-4fc0-a83e-0136ef531a88 | 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} cc53d80c-d254-411e-b4d7-211b55525d95 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server cc53d80c-d254-411e-b4d7-211b55525d95 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 cc53d80c-d254-411e-b4d7-211b55525d95 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for cc53d80c-d254-411e-b4d7-211b55525d95 ${stdout} Logs the given message with the given level. No Server found for cc53d80c-d254-411e-b4d7-211b55525d95 ${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. ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 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 ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ${stdout} Logs the given message with the given level. No Server found for ff7cf9af-7ba5-4ce4-91e1-b9e6675f4d86 ${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. 20780fbf-aff8-401c-b815-e8c910791b50 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 20780fbf-aff8-401c-b815-e8c910791b50 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 20780fbf-aff8-401c-b815-e8c910791b50 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 20780fbf-aff8-401c-b815-e8c910791b50 ${stdout} Logs the given message with the given level. No Server found for 20780fbf-aff8-401c-b815-e8c910791b50 ${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. 65b3fb73-d493-4e0f-8fd7-ed658f47e94a Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 65b3fb73-d493-4e0f-8fd7-ed658f47e94a 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 65b3fb73-d493-4e0f-8fd7-ed658f47e94a -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${stdout} Logs the given message with the given level. No Server found for 65b3fb73-d493-4e0f-8fd7-ed658f47e94a ${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. ae79dead-9f8a-4f84-b8d0-db84f205e911 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server ae79dead-9f8a-4f84-b8d0-db84f205e911 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 ae79dead-9f8a-4f84-b8d0-db84f205e911 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for ae79dead-9f8a-4f84-b8d0-db84f205e911 ${stdout} Logs the given message with the given level. No Server found for ae79dead-9f8a-4f84-b8d0-db84f205e911 ${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 531cfea5-1531-44be-bb67-c9508c0ab779 ${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} = 531cfea5-1531-44be-bb67-c9508c0ab779 '%{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 6b3a007b-47fb-4d72-9f6d-a3bfc0362cf3 ${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} = 6b3a007b-47fb-4d72-9f6d-a3bfc0362cf3 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 f21aa1a8-6ea1-4626-8662-1a7ca3082a63 ${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} = f21aa1a8-6ea1-4626-8662-1a7ca3082a63 cluster_heal daily heal_03 ${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} = 360.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} = 360.0 ${ns_launch_max_wait_time} Logs the given message with the given level. 360.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} = dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 ${stdout} Logs the given message with the given level. dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 ${ns_id} Logs the given message with the given level. dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 4cb553af-9c86-4de3-b0d1-d09361fc812b | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.66 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | a9ddb418-82e8-415e-9d6a-4704df0c55c4 | heal_01-charm_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.8.28; osm-ext=172.21.249.110 | ubuntu18.04 | simple_requires-1-1-flv | | 0c433e0c-2996-4db5-8ddb-50b69f33d77d | heal_01-charm_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.8.156; osm-ext=172.21.249.254 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 9a7ef50f-3c6a-45f9-a03a-74ff85e1490e | basic_11_native_-vnf2-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.226; osm-ext=172.21.248.27 | ubuntu18.04 | simple_requires-1-1-flv | | 4036f8c8-f74e-4854-90b3-b4f999cc7ef4 | basic_11_native_-vnf1-mgmtVM-0 | ACTIVE | basic_11_native_-datanet=192.168.25.225; osm-ext=172.21.248.179 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | BUILDING | INSTANTIATING (6a46227b-a196-40fc-979e-0f1b7e927c94) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | 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 | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ | c97be32d-8b7a-4636-90d7-3de4bb4a6044 | test_nscharm-2-policyVM-0 | ACTIVE | osm-ext=172.21.249.153; test_nscharm-internal=192.168.35.95 | ubuntu18.04 | osm.heal02_202636 | | 5e90d9d3-b17e-4c71-8dec-9ddc51c87945 | test_nscharm-1-userVM-0 | ACTIVE | osm-ext=172.21.249.130; test_nscharm-internal=192.168.213.91 | ubuntu18.04 | osm.heal02_202636 | | 17378162-9b96-4ac1-9abb-0bccf22f55bf | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 93664967-c126-4c51-9e73-26ccb825063a | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+--------------------------------------------------------------+-------------+-------------------------+ ${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 | dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | 2024-04-16T01:00:06 | 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} = dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 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 dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = c65cd14b-068b-42aa-9002-316da3863d1e ${stdout} Logs the given message with the given level. c65cd14b-068b-42aa-9002-316da3863d1e ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = c65cd14b-068b-42aa-9002-316da3863d1e ${vnf_charm_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_charm_id} = c65cd14b-068b-42aa-9002-316da3863d1e @{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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq -r .vdur[].name 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} = 300.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} = 300.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} = dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 dd888785-ee37-4a4c-b357-b813421c5116 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show dd888785-ee37-4a4c-b357-b813421c5116 --literal | yq -r .operationState 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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq -r .vdur[].name 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 --ns ${ns_id} | 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 --ns dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | grep dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 5c262824-34d5-49fb-9b11-68ad078a8910 c65cd14b-068b-42aa-9002-316da3863d1e ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 5c262824-34d5-49fb-9b11-68ad078a8910 | c65cd14b-068b-42aa-9002-316da3863d1e ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 5c262824-34d5-49fb-9b11-68ad078a8910 1: c65cd14b-068b-42aa-9002-316da3863d1e @{vnf_id_list} = [ 5c262824-34d5-49fb-9b11-68ad078a8910 | c65cd14b-068b-42aa-9002-316da3863d1e ] ${vnf_id_list} Logs the given message with the given level. ['5c262824-34d5-49fb-9b11-68ad078a8910', 'c65cd14b-068b-42aa-9002-316da3863d1e'] ${vnf_id} @{vnf_id_list} 5c262824-34d5-49fb-9b11-68ad078a8910 ${vnf_id} Logs the given message with the given level. 5c262824-34d5-49fb-9b11-68ad078a8910 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 5c262824-34d5-49fb-9b11-68ad078a8910 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 93664967-c126-4c51-9e73-26ccb825063a ${stdout} Logs the given message with the given level. 93664967-c126-4c51-9e73-26ccb825063a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 93664967-c126-4c51-9e73-26ccb825063a @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 93664967-c126-4c51-9e73-26ccb825063a ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. c65cd14b-068b-42aa-9002-316da3863d1e ${vnf_id} Logs the given message with the given level. c65cd14b-068b-42aa-9002-316da3863d1e ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 ${stdout} Logs the given message with the given level. 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 4a90515b-caaa-4206-a4d9-3869f8756c6b | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | 54ea9036-f97b-44c5-a499-bee0008e4988 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. ${vdu_id} @{vim_vdus} 93664967-c126-4c51-9e73-26ccb825063a ${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 93664967-c126-4c51-9e73-26ccb825063a -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': 'eaa6a8f2-7960-4b4c-b6cd-f162a06a4426', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': 'eaa6a8f2-7960-4b4c-b6cd-f162a06a4426', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': 'eaa6a8f2-7960-4b4c-b6cd-f162a06a4426', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['eaa6a8f2-7960-4b4c-b6cd-f162a06a4426'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 4a90515b-caaa-4206-a4d9-3869f8756c6b ${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 4a90515b-caaa-4206-a4d9-3869f8756c6b -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``. d72e50b4-4c7a-44f1-ac1a-e675ededce5c ${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 d72e50b4-4c7a-44f1-ac1a-e675ededce5c -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``. 54ea9036-f97b-44c5-a499-bee0008e4988 ${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 54ea9036-f97b-44c5-a499-bee0008e4988 -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. 93664967-c126-4c51-9e73-26ccb825063a 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 @{vim_volumes} Logs the given messages as separate entries using the INFO level. eaa6a8f2-7960-4b4c-b6cd-f162a06a4426 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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 ${stdout} Logs the given message with the given level. 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 @{vdu_charm_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_charm_ids} = [ 4a90515b-caaa-4206-a4d9-3869f8756c6b | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | 54ea9036-f97b-44c5-a499-bee0008e4988 ] @{vdu_charm_ids} @{vdu_charm_ids} Makes a variable available everywhere within the scope of the current suite. @{vdu_charm_ids} = [ 4a90515b-caaa-4206-a4d9-3869f8756c6b | d72e50b4-4c7a-44f1-ac1a-e675ededce5c | 54ea9036-f97b-44c5-a499-bee0008e4988 ] ${vdu_charm_ids}[1] Logs the given message with the given level. d72e50b4-4c7a-44f1-ac1a-e675ededce5c @{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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.189 192.168.53.228 172.21.248.215 192.168.53.91 172.21.248.203 192.168.53.196 ${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.189 | 192.168.53.228 | 172.21.248.215 | 192.168.53.91 | 172.21.248.203 | 192.168.53.196 ] @{charm_ip_list} = [ 172.21.249.189 | 192.168.53.228 | 172.21.248.215 | 192.168.53.91 | 172.21.248.203 | 192.168.53.196 ] @{charm_ip_list} @{charm_ip_list} Makes a variable available everywhere within the scope of the current suite. @{charm_ip_list} = [ 172.21.249.189 | 192.168.53.228 | 172.21.248.215 | 192.168.53.91 | 172.21.248.203 | 192.168.53.196 ] 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 dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.72 ${stdout} Logs the given message with the given level. 172.21.248.72 ${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.72 ${ip_addr} Logs the given message with the given level. 172.21.248.72 ${vnf_volumes_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_ip_addr} = 172.21.248.72 ${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 dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 5c262824-34d5-49fb-9b11-68ad078a8910 ${stdout} Logs the given message with the given level. 5c262824-34d5-49fb-9b11-68ad078a8910 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 5c262824-34d5-49fb-9b11-68ad078a8910 ${vnf_volumes_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_volumes_id} = 5c262824-34d5-49fb-9b11-68ad078a8910 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 5c262824-34d5-49fb-9b11-68ad078a8910 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 93664967-c126-4c51-9e73-26ccb825063a ${stdout} Logs the given message with the given level. 93664967-c126-4c51-9e73-26ccb825063a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 93664967-c126-4c51-9e73-26ccb825063a ${vdu_volumes_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_volumes_id} = 93664967-c126-4c51-9e73-26ccb825063a ${vdu_volumes_id} Logs the given message with the given level. 93664967-c126-4c51-9e73-26ccb825063a @{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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 5c262824-34d5-49fb-9b11-68ad078a8910 --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.72 ${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.72 ] @{volumes_ip_list} = [ 172.21.248.72 ] @{volumes_ip_list} @{volumes_ip_list} Makes a variable available everywhere within the scope of the current suite. @{volumes_ip_list} = [ 172.21.248.72 ] @{volumes_ip_list} Logs the given message with the given level. 172.21.248.72 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 d72e50b4-4c7a-44f1-ac1a-e675ededce5c 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 54ea9036-f97b-44c5-a499-bee0008e4988 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 93664967-c126-4c51-9e73-26ccb825063a 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 dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 --vnf 5c262824-34d5-49fb-9b11-68ad078a8910 --cause "Heal myvdu1 of several_volumes_vnf" --vdu several_volumes-VM --vnf c65cd14b-068b-42aa-9002-316da3863d1e --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} = 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 86408eb3-d977-4b35-94c8-914dcee1fb62 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 86408eb3-d977-4b35-94c8-914dcee1fb62 --literal | yq -r .operationState 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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 4a90515b-caaa-4206-a4d9-3869f8756c6b 22b1f3e5-6705-4934-8aaa-73ba8159e893 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${stdout} Logs the given message with the given level. 4a90515b-caaa-4206-a4d9-3869f8756c6b 22b1f3e5-6705-4934-8aaa-73ba8159e893 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 4a90515b-caaa-4206-a4d9-3869f8756c6b 22b1f3e5-6705-4934-8aaa-73ba8159e893 5abd93ab-6e8a-4a4c-9991-7fba8504c598 @{ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{ids} = [ 4a90515b-caaa-4206-a4d9-3869f8756c6b | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ] ${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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 5c262824-34d5-49fb-9b11-68ad078a8910 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${stdout} Logs the given message with the given level. dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${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 -r '."${attribute}"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq '.vdur[] | select(."count-index" == 1)' | yq -r '."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.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} = 172.21.248.215 ${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.215: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 disabled due to load higher than 1.0 Expanded Security Maintenance for Infrastructure is not enabled. 11 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.215: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 disabled due to load higher than 1.0 Expanded Security Maintenance for Infrastructure is not enabled. 11 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: Tue Apr 16 01:12:11 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 --ns ${ns_id} | 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 --ns dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | grep dc66cca6-c8ed-48ad-8709-d9a57ea8f6a3 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 5c262824-34d5-49fb-9b11-68ad078a8910 c65cd14b-068b-42aa-9002-316da3863d1e ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 5c262824-34d5-49fb-9b11-68ad078a8910 | c65cd14b-068b-42aa-9002-316da3863d1e ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: 5c262824-34d5-49fb-9b11-68ad078a8910 1: c65cd14b-068b-42aa-9002-316da3863d1e @{vnf_id_list} = [ 5c262824-34d5-49fb-9b11-68ad078a8910 | c65cd14b-068b-42aa-9002-316da3863d1e ] ${vnf_id} @{vnf_id_list} 5c262824-34d5-49fb-9b11-68ad078a8910 ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 5c262824-34d5-49fb-9b11-68ad078a8910 --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${stdout} Logs the given message with the given level. dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. c65cd14b-068b-42aa-9002-316da3863d1e ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show c65cd14b-068b-42aa-9002-316da3863d1e --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 4a90515b-caaa-4206-a4d9-3869f8756c6b 22b1f3e5-6705-4934-8aaa-73ba8159e893 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${stdout} Logs the given message with the given level. 4a90515b-caaa-4206-a4d9-3869f8756c6b 22b1f3e5-6705-4934-8aaa-73ba8159e893 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 4a90515b-caaa-4206-a4d9-3869f8756c6b 22b1f3e5-6705-4934-8aaa-73ba8159e893 5abd93ab-6e8a-4a4c-9991-7fba8504c598 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 4a90515b-caaa-4206-a4d9-3869f8756c6b | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ] ${vdu_updated} @{vdu_ids} Adds ``values`` to the end of ``list``. ${id} @{vdu_ids} 4a90515b-caaa-4206-a4d9-3869f8756c6b ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 22b1f3e5-6705-4934-8aaa-73ba8159e893 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. ${vdu_id} @{vdu_updated} dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${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 dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 -c volumes_attached -f value 2>&1'. ${rc} = 0 ${stdout} = [{'device': None, 'id': 'eaa6a8f2-7960-4b4c-b6cd-f162a06a4426', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${stdout} Logs the given message with the given level. [{'device': None, 'id': 'eaa6a8f2-7960-4b4c-b6cd-f162a06a4426', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${volumes_attached} = [{'device': None, 'id': 'eaa6a8f2-7960-4b4c-b6cd-f162a06a4426', 'volume_id': None, 'attachment_id': None, 'bdm_id': None, 'tag': None, 'delete_on_termination': False, 'name': None, 'location': None}] ${match} ${volumes_attached} '([0-9a-f\-]+)' 1 Returns a list of all non-overlapping matches in the given string. ${match} = ['eaa6a8f2-7960-4b4c-b6cd-f162a06a4426'] ${vim_volumes} ${match}[0] Adds ``values`` to the end of ``list``. 4a90515b-caaa-4206-a4d9-3869f8756c6b ${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 4a90515b-caaa-4206-a4d9-3869f8756c6b -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``. 22b1f3e5-6705-4934-8aaa-73ba8159e893 ${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 22b1f3e5-6705-4934-8aaa-73ba8159e893 -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``. 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${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 5abd93ab-6e8a-4a4c-9991-7fba8504c598 -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. 93664967-c126-4c51-9e73-26ccb825063a 4a90515b-caaa-4206-a4d9-3869f8756c6b d72e50b4-4c7a-44f1-ac1a-e675ededce5c 54ea9036-f97b-44c5-a499-bee0008e4988 dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 22b1f3e5-6705-4934-8aaa-73ba8159e893 5abd93ab-6e8a-4a4c-9991-7fba8504c598 @{vim_volumes} Logs the given messages as separate entries using the INFO level. eaa6a8f2-7960-4b4c-b6cd-f162a06a4426 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} = +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.53.196; osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.53.91; osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.72 | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 4a90515b-caaa-4206-a4d9-3869f8756c6b | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.53.228; osm-ext=172.21.249.189 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | 5abd93ab-6e8a-4a4c-9991-7fba8504c598 | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.203 | ubuntu18.04 | simple_requires-1-1-flv | | 22b1f3e5-6705-4934-8aaa-73ba8159e893 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.215 | ubuntu18.04 | simple_requires-1-1-flv | | dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | | ubuntu20.04 | several_volumes-VM-flv | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${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} eaa6a8f2-7960-4b4c-b6cd-f162a06a4426 Checking if volume ${vol_id} is still in VIM Logs the given message with the given level. Checking if volume eaa6a8f2-7960-4b4c-b6cd-f162a06a4426 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 eaa6a8f2-7960-4b4c-b6cd-f162a06a4426 | 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} 93664967-c126-4c51-9e73-26ccb825063a Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 93664967-c126-4c51-9e73-26ccb825063a 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 93664967-c126-4c51-9e73-26ccb825063a -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 93664967-c126-4c51-9e73-26ccb825063a ${stdout} Logs the given message with the given level. No Server found for 93664967-c126-4c51-9e73-26ccb825063a ${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. 4a90515b-caaa-4206-a4d9-3869f8756c6b Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 4a90515b-caaa-4206-a4d9-3869f8756c6b 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 4a90515b-caaa-4206-a4d9-3869f8756c6b -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 4a90515b-caaa-4206-a4d9-3869f8756c6b ${stdout} Logs the given message with the given level. No Server found for 4a90515b-caaa-4206-a4d9-3869f8756c6b ${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. d72e50b4-4c7a-44f1-ac1a-e675ededce5c Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server d72e50b4-4c7a-44f1-ac1a-e675ededce5c 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 d72e50b4-4c7a-44f1-ac1a-e675ededce5c -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for d72e50b4-4c7a-44f1-ac1a-e675ededce5c ${stdout} Logs the given message with the given level. No Server found for d72e50b4-4c7a-44f1-ac1a-e675ededce5c ${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. 54ea9036-f97b-44c5-a499-bee0008e4988 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 54ea9036-f97b-44c5-a499-bee0008e4988 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 54ea9036-f97b-44c5-a499-bee0008e4988 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 54ea9036-f97b-44c5-a499-bee0008e4988 ${stdout} Logs the given message with the given level. No Server found for 54ea9036-f97b-44c5-a499-bee0008e4988 ${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. dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 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 dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${stdout} Logs the given message with the given level. No Server found for dc05aa1e-6c4a-4d1f-b0d3-4744fc264cd5 ${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. 22b1f3e5-6705-4934-8aaa-73ba8159e893 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 22b1f3e5-6705-4934-8aaa-73ba8159e893 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 22b1f3e5-6705-4934-8aaa-73ba8159e893 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 22b1f3e5-6705-4934-8aaa-73ba8159e893 ${stdout} Logs the given message with the given level. No Server found for 22b1f3e5-6705-4934-8aaa-73ba8159e893 ${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. 5abd93ab-6e8a-4a4c-9991-7fba8504c598 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 5abd93ab-6e8a-4a4c-9991-7fba8504c598 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 5abd93ab-6e8a-4a4c-9991-7fba8504c598 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${stdout} Logs the given message with the given level. No Server found for 5abd93ab-6e8a-4a4c-9991-7fba8504c598 ${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 c3509f2c-c08f-4b21-899a-5eca21d93325 ${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} = c3509f2c-c08f-4b21-899a-5eca21d93325 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 50d6004e-a620-40b5-a022-905f794ce509 ${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} = 50d6004e-a620-40b5-a022-905f794ce509 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} = da0f159a-2660-45f2-b07e-cc2b78d7ab03 ${stdout} Logs the given message with the given level. da0f159a-2660-45f2-b07e-cc2b78d7ab03 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = da0f159a-2660-45f2-b07e-cc2b78d7ab03 ${ns_id} Logs the given message with the given level. da0f159a-2660-45f2-b07e-cc2b78d7ab03 ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ | 00d998b0-d58a-4f35-8d47-39dce5a20276 | basic_14_vnf_rel-vnf-simple_provides-0 | ACTIVE | osm-ext=172.21.248.132 | ubuntu18.04 | osm.heal02_202636 | | aba7b9e3-2b3f-4441-b352-1fac5a279cca | basic_14_vnf_rel-vnf-simple_requires-0 | ACTIVE | osm-ext=172.21.248.218 | ubuntu18.04 | osm.heal02_202636 | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.106.206; osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.106.185; osm-ext=172.21.249.149 | ubuntu18.04 | osm.heal02_202636 | | 675e1431-6997-49e9-8c26-98f9768e33cf | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.106.232; osm-ext=172.21.248.70 | ubuntu18.04 | osm.heal02_202636 | | e8bf0f44-6606-48c0-aa06-9cac00c44266 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.179 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+------------------------+ ${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 | da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 2024-04-16T01:15:42 | BUILDING | INSTANTIATING (8f6e11b3-29e3-4475-bbc8-ff36221da0e1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 2024-04-16T01:15:42 | BUILDING | INSTANTIATING (8f6e11b3-29e3-4475-bbc8-ff36221da0e1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 9b205b7d-fb1b-41d4-90db-4adbfed36514 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.199 | ubuntu18.04 | osm.heal02_202636 | | a319eb2f-7bab-4802-b5d0-330e61389f84 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | | ubuntu18.04 | osm.heal02_202636 | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 | da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 2024-04-16T01:15:42 | 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 | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | debde2d5-1a3d-4f1b-bb65-753464af6824 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 | da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 2024-04-16T01:15:42 | 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} = da0f159a-2660-45f2-b07e-cc2b78d7ab03 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = da0f159a-2660-45f2-b07e-cc2b78d7ab03 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 --ns ${ns_id} | 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 --ns da0f159a-2660-45f2-b07e-cc2b78d7ab03 | grep da0f159a-2660-45f2-b07e-cc2b78d7ab03 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 0a9fefeb-adf6-4c52-8d93-c12521ef881a ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 0a9fefeb-adf6-4c52-8d93-c12521ef881a ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 0a9fefeb-adf6-4c52-8d93-c12521ef881a @{vnf_id_list} = [ 0a9fefeb-adf6-4c52-8d93-c12521ef881a ] ${vnf_id_list} Logs the given message with the given level. ['0a9fefeb-adf6-4c52-8d93-c12521ef881a'] ${vnf_id} @{vnf_id_list} 0a9fefeb-adf6-4c52-8d93-c12521ef881a ${vnf_id} Logs the given message with the given level. 0a9fefeb-adf6-4c52-8d93-c12521ef881a ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 0a9fefeb-adf6-4c52-8d93-c12521ef881a --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = debde2d5-1a3d-4f1b-bb65-753464af6824 ${stdout} Logs the given message with the given level. debde2d5-1a3d-4f1b-bb65-753464af6824 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = debde2d5-1a3d-4f1b-bb65-753464af6824 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ debde2d5-1a3d-4f1b-bb65-753464af6824 ] ${vim_vdus} @{vdu_ids} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. debde2d5-1a3d-4f1b-bb65-753464af6824 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.20 ${stdout} Logs the given message with the given level. 172.21.248.20 ${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.20 ${ip_addr} Logs the given message with the given level. 172.21.248.20 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.20 ${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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 0a9fefeb-adf6-4c52-8d93-c12521ef881a ${stdout} Logs the given message with the given level. 0a9fefeb-adf6-4c52-8d93-c12521ef881a ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${vnf_id} = 0a9fefeb-adf6-4c52-8d93-c12521ef881a ${vnf_autoheal_id} ${vnf_id} Makes a variable available everywhere within the scope of the current suite. ${vnf_autoheal_id} = 0a9fefeb-adf6-4c52-8d93-c12521ef881a ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 0a9fefeb-adf6-4c52-8d93-c12521ef881a --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = debde2d5-1a3d-4f1b-bb65-753464af6824 ${stdout} Logs the given message with the given level. debde2d5-1a3d-4f1b-bb65-753464af6824 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = debde2d5-1a3d-4f1b-bb65-753464af6824 ${vdu_autoheal_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${vdu_autoheal_id} = debde2d5-1a3d-4f1b-bb65-753464af6824 ${vdu_autoheal_id} Logs the given message with the given level. debde2d5-1a3d-4f1b-bb65-753464af6824 @{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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 0a9fefeb-adf6-4c52-8d93-c12521ef881a --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.20 ${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.20 ] @{autoheal_ip_list} = [ 172.21.248.20 ] @{autoheal_ip_list} @{autoheal_ip_list} Makes a variable available everywhere within the scope of the current suite. @{autoheal_ip_list} = [ 172.21.248.20 ] @{autoheal_ip_list} Logs the given message with the given level. 172.21.248.20 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 debde2d5-1a3d-4f1b-bb65-753464af6824 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | 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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e78d104b-29e1-4cc1-9937-4ab26fddf6dd ${stdout} Logs the given message with the given level. e78d104b-29e1-4cc1-9937-4ab26fddf6dd ${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 da0f159a-2660-45f2-b07e-cc2b78d7ab03 | grep heal | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = e78d104b-29e1-4cc1-9937-4ab26fddf6dd ${stdout} Logs the given message with the given level. e78d104b-29e1-4cc1-9937-4ab26fddf6dd ${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} = e78d104b-29e1-4cc1-9937-4ab26fddf6dd ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e78d104b-29e1-4cc1-9937-4ab26fddf6dd --literal | yq -r .operationState 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 e78d104b-29e1-4cc1-9937-4ab26fddf6dd ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e78d104b-29e1-4cc1-9937-4ab26fddf6dd --literal | yq -r .operationState 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 e78d104b-29e1-4cc1-9937-4ab26fddf6dd ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e78d104b-29e1-4cc1-9937-4ab26fddf6dd --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e78d104b-29e1-4cc1-9937-4ab26fddf6dd --literal | yq -r .operationState 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 -r '.vdur[].interfaces[]."ip-address"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 0a9fefeb-adf6-4c52-8d93-c12521ef881a --literal | yq -r '.vdur[].interfaces[]."ip-address"' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.20 ${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.20 ] @{ip_list} = [ 172.21.248.20 ] @{ip_list} Logs the given message with the given level. 172.21.248.20 ${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 | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 0a9fefeb-adf6-4c52-8d93-c12521ef881a --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 18346f82-0dc4-40e2-af88-a82ceef98010 ${stdout} Logs the given message with the given level. 18346f82-0dc4-40e2-af88-a82ceef98010 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 18346f82-0dc4-40e2-af88-a82ceef98010 ${id} Logs the given message with the given level. 18346f82-0dc4-40e2-af88-a82ceef98010 ${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 --ns ${ns_id} | 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 --ns da0f159a-2660-45f2-b07e-cc2b78d7ab03 | grep da0f159a-2660-45f2-b07e-cc2b78d7ab03 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 0a9fefeb-adf6-4c52-8d93-c12521ef881a ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 0a9fefeb-adf6-4c52-8d93-c12521ef881a ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 0a9fefeb-adf6-4c52-8d93-c12521ef881a @{vnf_id_list} = [ 0a9fefeb-adf6-4c52-8d93-c12521ef881a ] ${vnf_id} @{vnf_id_list} 0a9fefeb-adf6-4c52-8d93-c12521ef881a ${id} ${vnf_id} ${vnf_id} Verifies that the given item is not empty. Length is 36 ${rc} ${stdout} osm vnf-show ${vnf_id} --literal | yq -r '.vdur[]."vim-id"' Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 0a9fefeb-adf6-4c52-8d93-c12521ef881a --literal | yq -r '.vdur[]."vim-id"' 2>&1'. ${rc} = 0 ${stdout} = 18346f82-0dc4-40e2-af88-a82ceef98010 ${stdout} Logs the given message with the given level. 18346f82-0dc4-40e2-af88-a82ceef98010 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${id} = 18346f82-0dc4-40e2-af88-a82ceef98010 @{vdu_ids} ${id} Splits the ``string`` using ``separator`` as a delimiter string. @{vdu_ids} = [ 18346f82-0dc4-40e2-af88-a82ceef98010 ] ${id} @{vdu_ids} 18346f82-0dc4-40e2-af88-a82ceef98010 ${vim_vdus} ${id} Adds ``values`` to the end of ``list``. @{vim_vdus} Logs the given messages as separate entries using the INFO level. debde2d5-1a3d-4f1b-bb65-753464af6824 18346f82-0dc4-40e2-af88-a82ceef98010 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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ | 18346f82-0dc4-40e2-af88-a82ceef98010 | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.20 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 51bf8bcc-7177-4cd6-8668-7ab3caee3923 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.73 | ubuntu20.04 | simple_requires-1-1-flv | | ef66a3f6-3669-4f2e-9713-4fc3191b4cfa | basic_19-vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.152 | ubuntu20.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-----------------------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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} debde2d5-1a3d-4f1b-bb65-753464af6824 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server debde2d5-1a3d-4f1b-bb65-753464af6824 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 debde2d5-1a3d-4f1b-bb65-753464af6824 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for debde2d5-1a3d-4f1b-bb65-753464af6824 ${stdout} Logs the given message with the given level. No Server found for debde2d5-1a3d-4f1b-bb65-753464af6824 ${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. 18346f82-0dc4-40e2-af88-a82ceef98010 Checking if server ${vdu_id} is still in VIM Logs the given message with the given level. Checking if server 18346f82-0dc4-40e2-af88-a82ceef98010 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 18346f82-0dc4-40e2-af88-a82ceef98010 -c id -f value 2>&1'. ${rc} = 1 ${stdout} = No Server found for 18346f82-0dc4-40e2-af88-a82ceef98010 ${stdout} Logs the given message with the given level. No Server found for 18346f82-0dc4-40e2-af88-a82ceef98010 ${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 ${rand} 6 [NUMBERS] Generates a string with a desired ``length`` from the given ``chars``. ${rand} = 058024 ${vim_name} SEPARATOR=_ ${vim_name_prefix} ${rand} Catenates the given items together and returns the resulted string. ${vim_name} = basic01_058024 ${vim_name} Makes a variable available everywhere within the scope of the current suite. ${vim_name} = basic01_058024 ${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_058024 --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_058024 --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} = 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec ${stdout} Logs the given message with the given level. 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec ${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} = 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec Creates a VIM for the K8s cluster to be anchored against cluster_k8s daily k8s_02 regression %{K8S_CREDENTIALS} ${k8scluster_version} ${vim_name} %{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 basic01_058024 --k8s-nets '{"net1": "osm-ext"}' k8s02 --description "Robot cluster" 2>&1'. ${rc} = 0 ${stdout} = 70839177-43a2-40b5-b330-2d22b6be2709 ${stdout} Logs the given message with the given level. 70839177-43a2-40b5-b330-2d22b6be2709 ${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. stat... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+----------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+----------------+-------------------+-------------------+ | k8s02 | 70839177-43a2-40b5-b330-2d22b6be2709 | basic01_058024 | 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 | 70839177-43a2-40b5-b330-2d22b6be2709 | basic01_058024 | 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 | "70839177-43a2-40b5-b330-2d22b6be2709" | | 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 | | | Vm02SVliZ0c2M1l3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOVEEwTURFd016QXdNREZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXR5 | | | UDZiMmordHVINCtJTCsKRkt4YW5yMWNZUEJLdHp0UDIxSTVaNkhHWHBOdWJCS1lHTU52U0crVkd4REVYa3VSQk54ZFp2M1RteGpa | | | MWJDNQpyZTU5Z0duR2hPK1dKY0FrZDNudE9lMWpBSmNsM3Y0NmRxSisxVmJ2UDVSS09hQ2c1dzVmSFlxS25YSXpZTG80Cm9BRC9t | | | Vmh4WXplZzlJM2hWeUNhUFUrM3VkQ25NaXVsZnROd0VIWDEwaHFtb1R6eDJqSWdqVnB6eGl3WllRc08KVUpmRWdNV3gydkw5T0hG | | | TUwvWFIrb2VIc2RSWVpBZUkyRnF4VHJCcU45R2xLQ3h5S1ZPSkhEdFRPT1IzbDJKRgphRFlRbnlUYVVMNk9nRlBJQ1VTVitWUHdO | | | WG96UlN6Nkp2Tm5NWmpkTG41NjNXY3M1cEZwNjBETTlUMUMveE5pClFaUkRCUUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBSml0dEhjODRjVmJnanJSOEt1dUh0K01Qd2s5 | | | eTdWTG5MQ1BsCmM3ckV6eHg5RDEzS0QyeTN6NzlrRDNSOXNmMHVicWczUjI2cFdJNCtObkc4b0VsK2FmelovcTRHb0laRW0zWEIK | | | ZE1hRlJRcVk2U1JXWERUVHVjZEFxVmt4VG4rTVFSSUZrZXUycUxMU3RMeFk2V0dtMXEvTUFxQ3o0WkNFejBHOApXSXFnTlNpUzJY | | | SytjQkN4cUlDbnQ1ODFGYXRLaHZnRk5rTjhFTlJlQ2VVQUw1N2pOaGZQVS9MOVY2RTllMENYCldkTUFkSithYyt6UGJuUU1GcktJ | | | NkdoOEsxNHdIS2FTTDNjV29sQUxLcUVTc0JLU2hsV0J0MWMxcTROSzNCOWMKRWsyNURLYU53SUxHZkx6dU0wY2dsNVdZQ3lsTmFS | | | M2FpQmVtbGx4aUUrR1hxckd1c0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBdHlQNmIy | | | ait0dUg0K0lMK0ZLeGFucjFjWVBCS3R6dFAyMUk1WjZIR1hwTnViQktZCkdNTnZTRytWR3hERVhrdVJCTnhkWnYzVG14aloxYkM1 | | | cmU1OWdHbkdoTytXSmNBa2QzbnRPZTFqQUpjbDN2NDYKZHFKKzFWYnZQNVJLT2FDZzV3NWZIWXFLblhJellMbzRvQUQvbVZoeFl6 | | | ZWc5STNoVnlDYVBVKzN1ZENuTWl1bApmdE53RUhYMTBocW1vVHp4MmpJZ2pWcHp4aXdaWVFzT1VKZkVnTVd4MnZMOU9IRk1ML1hS | | | K29lSHNkUllaQWVJCjJGcXhUckJxTjlHbEtDeHlLVk9KSER0VE9PUjNsMkpGYURZUW55VGFVTDZPZ0ZQSUNVU1YrVlB3TlhvelJT | | | ejYKSnZObk1aamRMbjU2M1djczVwRnA2MERNOVQxQy94TmlRWlJEQlFJREFRQUJBb0lCQVFDTjlXVjZWbmlhYWk4Qwo4d2JnSDNs | | | ZThvbFkydW9QZmZvNGwxUEg4SzVEUVNTbXdRTUVydmpqdlJwbkVHZ21iNHpKcDhiK3ZtSDRKeHN6CmVQbDB5UmlmSVY2d1RNYW1I | | | SG9uNG1yd0xBSkJ3dWVvSW9oT3pVWmpPQy9icUthZ1pOSlVSOStTbG9FNzZmbkoKVUkvejl0SXBtMVRKQTZYUDZ1cHhEdVNBQWZy | | | NEhHU01CMllKSWN1MW9WQWN3azY2YVlFa2c0NElnSnVWTGo1Swp6Nnh2ZUNlU3libWkyUkZ0dXFpNVFMRGl0a2Zsdk9Wa3BGUVQ5 | | | a0FDeTRSZTJ6Q2pzTVFyVFljQzNzdnhqaDlHClJ2QjZYczdWSTE2ZFhTMytZKzE2aW5yT1kzT1BUU1BySG5RcFJwRWZXL2Q1VS9S | | | ZzZqR2M0ZUMxa1o3YzNtQk4KMk5zVWNRRkJBb0dCQU5BZmRSdEh4aHVjM1o1TmcvTXRwbDk2NGpRMDZnd3dZYVVNYTFlOXZKZjYy | | | RjFiMThMTwpZUUltRmxQYUlJaFFCTU10elNIa1ZHL0JYbEd3WjgyNFdvUnd6MXBCU2lvNkJhTW9pT2hrcmRvK1FicW5vZlZCCkZ0 | | | dE9OcU1TK0hyVlNNdTY1QWJnbllscDZ0RDZsQ0lkaU1saWJ2ak5FUTJrdWQyanJyZGhvMUh2QW9HQkFPRkYKU2RjaUlTUDBuakxy | | | OGF5ZFVCK2xXeDR4MHY2VFp5NTFuSnpiWm1Ma3FTS2FsbWkrQk9OTDNJbjJSd1BCa3pjdwppUGp1cHB2a2dSRWpyU3VLR1NwMGRN | | | VmpxVDZGb2dmYVRDVjBBN0RxZ3VuTHpjUVZka1grNTU5bk5uQ0dLb2poCkhJYmVncm1NRytsc3M3RHZJQUk5cFhwRnJ2V0JZNCsw | | | N1VwTE10NUxBb0dCQUpPekgzckN6eGRkbGZINGRRSXAKalg4SlNHdGdlaEU0YkxPalFySzhGcEdORmV2N2QvM3FWUElmY1kwRXFq | | | M1MrKzVBSE9wR2pwM1pEMFROK24wRwpya1o3Z013K3RaR09KOTRJc0ZDczBxeWxyaVAzUDNzOFBDcGJNVzg5MFZYcTg0U1NGNjNC | | | emt0cy9aWmRucTh2CllwbjQzMlIycy9tSXc5ZEZpSUxnS2ZYRkFvR0FBYVNkdTBIMmQrcXExTGcvMVFCNHV5SmJuY2JEUVRRV0Jw | | | SzUKQjdQWjlWS3hvUno3aDl3SzhSVjJrRk1KaFk5OTRXTXJQSldSQllZUEl1N2Rybm1kWVYva0VpUjk4WVRMLzc2cAoyNFFUR3RF | | | N0R6VjdWTGpMV2d0WDZTTzVrK3lHbHVUOWJrWmxNYkZCNnR2dUc1WkM1NEZIbWJLMGFmbjluZWkxCjZsck9EaTBDZ1lFQXhXdEhi | | | S0kzSURvbkw2ejZzajJPOUo2RXpwaDVaM3B6OXd0L1VYU1hQV3kwUzcxZ3BKWFUKVlp6cEtURzZVZ3RtMWhIUUtlVXN0WVBzdU9E | | | Rmx0YXl0eFBrYTY2ZG5yby8wTHFwOFBSRlNOMkhTdEk2YUROcAo2T3ltQzlDYUhSU3JNYjF0cnNvUmlOSjlPTUd4YW8zTmlmSk1C | | | K0tjcWh4VUJ0c0FiWmVqWUQwPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "2d4ccafb-6dd6-43e6-a561-bf9db2a918ec" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713230611.986433, | | | "modified": 1713230616.9902532, | | | "projects_read": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "projects_write": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713230611.9864683, | | | "statusEnteredTime": 1713230611.9864683, | | | "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": "70839177-43a2-40b5-b330-2d22b6be2709", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "70839177-43a2-40b5-b330-2d22b6be2709", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "70839177-43a2-40b5-b330-2d22b6be2709", | | | "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. stat... ${stdout} Logs the given message with the given level. +-------+--------------------------------------+----------------+-------------------+-------------------+ | Name | Id | VIM | Operational State | Op. state details | +-------+--------------------------------------+----------------+-------------------+-------------------+ | k8s02 | 70839177-43a2-40b5-b330-2d22b6be2709 | basic01_058024 | 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 | 70839177-43a2-40b5-b330-2d22b6be2709 | basic01_058024 | 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 ${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_058024 " | awk '{print $4}' 2>&1'. ${rc} = 0 ${stdout} = 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec ${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} = 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec ${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 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec 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 2d4ccafb-6dd6-43e6-a561-bf9db2a918ec 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. 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 c324e814-fb6f-452c-914c-6e13b05b0860 ${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} = c324e814-fb6f-452c-914c-6e13b05b0860 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 6eb2b856-14df-46b9-89db-3c06e7af6897 ${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} = 6eb2b856-14df-46b9-89db-3c06e7af6897 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} = d8a0e7e9-990f-47da-9971-276a799cb865 ${stdout} Logs the given message with the given level. d8a0e7e9-990f-47da-9971-276a799cb865 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = d8a0e7e9-990f-47da-9971-276a799cb865 ${ns_id} Logs the given message with the given level. d8a0e7e9-990f-47da-9971-276a799cb865 ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | d8a0e7e9-990f-47da-9971-276a799cb865 | 2024-04-16T01:24:35 | BUILDING | INSTANTIATING (780475e8-c2c6-4188-8dd6-fadbf77d47b2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d8a0e7e9-990f-47da-9971-276a799cb865 | 2024-04-16T01:24:35 | BUILDING | INSTANTIATING (780475e8-c2c6-4188-8dd6-fadbf77d47b2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------+-------------+-------------------------+ | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 86d5cd07-bf3d-4cee-a6e5-1d17e07a0c0e | heal_03-charm_vnf-mgmtVM-2 | SHUTOFF | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | b9a8d8cd-04ef-4955-8fa3-0f0ca83ddba5 | heal_03-charm_vnf-mgmtVM-1 | SHUTOFF | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 263b1a26-8b87-4884-93a4-c1b21900ea89 | heal_03-several_volumes_-several_volumes-VM-0 | SHUTOFF | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+---------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | d8a0e7e9-990f-47da-9971-276a799cb865 | 2024-04-16T01:24:35 | BUILDING | INSTANTIATING (780475e8-c2c6-4188-8dd6-fadbf77d47b2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | d8a0e7e9-990f-47da-9971-276a799cb865 | 2024-04-16T01:24:35 | BUILDING | INSTANTIATING (780475e8-c2c6-4188-8dd6-fadbf77d47b2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | d8a0e7e9-990f-47da-9971-276a799cb865 | 2024-04-16T01:24:35 | 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | d8a0e7e9-990f-47da-9971-276a799cb865 | 2024-04-16T01:24:35 | 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} = d8a0e7e9-990f-47da-9971-276a799cb865 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = d8a0e7e9-990f-47da-9971-276a799cb865 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} = 90a5cbbe-bf63-45ee-bc4c-c3fca32d1c91 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 90a5cbbe-bf63-45ee-bc4c-c3fca32d1c91 --literal | yq -r .operationState 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 90a5cbbe-bf63-45ee-bc4c-c3fca32d1c91 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 90a5cbbe-bf63-45ee-bc4c-c3fca32d1c91 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 90a5cbbe-bf63-45ee-bc4c-c3fca32d1c91 --literal | yq -r .operationState 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} = 90a5cbbe-bf63-45ee-bc4c-c3fca32d1c91 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 ${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. [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 76fb5a15-175d-4cfe-a6b0-6f6448eb21f4 ${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} = 76fb5a15-175d-4cfe-a6b0-6f6448eb21f4 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 4f1a6be8-3b25-4a0a-a0ed-d9c40180df8f ${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} = 4f1a6be8-3b25-4a0a-a0ed-d9c40180df8f 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} = 50bbad50-585f-4f6b-8238-cfc24ae249bf ${stdout} Logs the given message with the given level. 50bbad50-585f-4f6b-8238-cfc24ae249bf ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 50bbad50-585f-4f6b-8238-cfc24ae249bf ${ns_id} Logs the given message with the given level. 50bbad50-585f-4f6b-8238-cfc24ae249bf ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 50bbad50-585f-4f6b-8238-cfc24ae249bf | 2024-04-16T01:27:54 | BUILDING | INSTANTIATING (aff02cb6-5750-4730-aa2d-feabcd56772d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 50bbad50-585f-4f6b-8238-cfc24ae249bf | 2024-04-16T01:27:54 | BUILDING | INSTANTIATING (aff02cb6-5750-4730-aa2d-feabcd56772d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 50bbad50-585f-4f6b-8238-cfc24ae249bf | 2024-04-16T01:27:54 | BUILDING | INSTANTIATING (aff02cb6-5750-4730-aa2d-feabcd56772d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 50bbad50-585f-4f6b-8238-cfc24ae249bf | 2024-04-16T01:27:54 | BUILDING | INSTANTIATING (aff02cb6-5750-4730-aa2d-feabcd56772d) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 50bbad50-585f-4f6b-8238-cfc24ae249bf | 2024-04-16T01:27: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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 50bbad50-585f-4f6b-8238-cfc24ae249bf | 2024-04-16T01:27: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} = 50bbad50-585f-4f6b-8238-cfc24ae249bf 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} = 50bbad50-585f-4f6b-8238-cfc24ae249bf ${stdout} Logs the given message with the given level. 50bbad50-585f-4f6b-8238-cfc24ae249bf ${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} = 50bbad50-585f-4f6b-8238-cfc24ae249bf ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 50bbad50-585f-4f6b-8238-cfc24ae249bf 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 --ns ${ns_id} | 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 --ns 50bbad50-585f-4f6b-8238-cfc24ae249bf | grep 50bbad50-585f-4f6b-8238-cfc24ae249bf | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = 3c270235-8a3d-4765-911a-eb14bcf555ff ${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} = [ 3c270235-8a3d-4765-911a-eb14bcf555ff ] @{vnfr_list} = [ 3c270235-8a3d-4765-911a-eb14bcf555ff ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 3c270235-8a3d-4765-911a-eb14bcf555ff ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = 3c270235-8a3d-4765-911a-eb14bcf555ff 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} = 726f019b-fdab-4805-95b5-76fc0045e106 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 726f019b-fdab-4805-95b5-76fc0045e106 --literal | yq -r .operationState 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 726f019b-fdab-4805-95b5-76fc0045e106 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 726f019b-fdab-4805-95b5-76fc0045e106 --literal | yq -r .operationState 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 726f019b-fdab-4805-95b5-76fc0045e106 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 726f019b-fdab-4805-95b5-76fc0045e106 --literal | yq -r .operationState 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 726f019b-fdab-4805-95b5-76fc0045e106 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 726f019b-fdab-4805-95b5-76fc0045e106 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 726f019b-fdab-4805-95b5-76fc0045e106 --literal | yq -r .operationState 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} = 726f019b-fdab-4805-95b5-76fc0045e106 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 -r .config.replicaCount Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3c270235-8a3d-4765-911a-eb14bcf555ff --kdu ldap | yq -r .config.replicaCount 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} = 5e883ba5-3f01-40e8-9d44-adda52e61476 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5e883ba5-3f01-40e8-9d44-adda52e61476 --literal | yq -r .operationState 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 5e883ba5-3f01-40e8-9d44-adda52e61476 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5e883ba5-3f01-40e8-9d44-adda52e61476 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 5e883ba5-3f01-40e8-9d44-adda52e61476 --literal | yq -r .operationState 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} = 5e883ba5-3f01-40e8-9d44-adda52e61476 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 -r .config.replicaCount Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show 3c270235-8a3d-4765-911a-eb14bcf555ff --kdu ldap | yq -r .config.replicaCount 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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 ${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. [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 d21601c1-848a-47a4-b0fc-f81a2089d920 ${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} = d21601c1-848a-47a4-b0fc-f81a2089d920 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 ccdef6da-90f1-4407-9bf2-78ef864e48d6 ${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} = ccdef6da-90f1-4407-9bf2-78ef864e48d6 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} = 61d19167-7d47-468f-ac9f-30f183b7f6d9 ${stdout} Logs the given message with the given level. 61d19167-7d47-468f-ac9f-30f183b7f6d9 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 61d19167-7d47-468f-ac9f-30f183b7f6d9 ${ns_id} Logs the given message with the given level. 61d19167-7d47-468f-ac9f-30f183b7f6d9 ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | de4bee93-d7ef-4e92-be71-20703ac960d9 | basic_20_manual_-vnf-mgmtVM-2 | ACTIVE | basic_20_manual_-datanet=192.168.120.7; osm-ext=172.21.249.179 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | heal_03-datanet=192.168.108.96; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | heal_03-datanet=192.168.108.158; osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | 56c7a7d3-dc24-4990-b4d1-deb3c2042356 | heal_03-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.142 | ubuntu20.04 | several_volumes-VM-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | acf61158-2099-420e-8ce8-d335d87d86fc | heal_03-charm_vnf-mgmtVM-0 | ACTIVE | heal_03-datanet=192.168.108.188; osm-ext=172.21.249.148 | ubuntu18.04 | simple_requires-1-1-flv | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | BUILDING | INSTANTIATING (f6391b4f-f850-4363-ad47-b2918d29dd28) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | BUILDING | INSTANTIATING (f6391b4f-f850-4363-ad47-b2918d29dd28) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 39ece24a-afe3-4730-9750-a22a6ebaa93d | heal_03-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 8e3064a9-3771-4975-b855-18a741f6317a | heal_03-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.248.101 | ubuntu18.04 | simple_requires-1-1-flv | | d6153c9b-1092-4d74-8f3f-69c21dfed44f | basic_20_manual_-vnf-mgmtVM-1 | ACTIVE | basic_20_manual_-datanet=192.168.120.142; osm-ext=172.21.248.31 | ubuntu18.04 | simple_requires-1-1-flv | | d144dff3-7ba3-4ba5-b8bf-9e65aca05cc5 | basic_20_manual_-vnf-mgmtVM-0 | ACTIVE | basic_20_manual_-datanet=192.168.120.4; osm-ext=172.21.248.178 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | BUILDING | INSTANTIATING (f6391b4f-f850-4363-ad47-b2918d29dd28) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | BUILDING | INSTANTIATING (f6391b4f-f850-4363-ad47-b2918d29dd28) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | BUILDING | INSTANTIATING (f6391b4f-f850-4363-ad47-b2918d29dd28) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | BUILDING | INSTANTIATING (f6391b4f-f850-4363-ad47-b2918d29dd28) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 11982307-e15a-48e2-b474-793549f2b30f | basic_21-vnf-several-volu-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | 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 | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 11982307-e15a-48e2-b474-793549f2b30f | basic_21-vnf-several-volu-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ACTIVE | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${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 | 61d19167-7d47-468f-ac9f-30f183b7f6d9 | 2024-04-16T01:31:07 | 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} = 61d19167-7d47-468f-ac9f-30f183b7f6d9 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 61d19167-7d47-468f-ac9f-30f183b7f6d9 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 61d19167-7d47-468f-ac9f-30f183b7f6d9 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.12 ${stdout} Logs the given message with the given level. 172.21.248.12 ${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.12 ${ip_addr_1} Logs the given message with the given level. 172.21.248.12 ${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.12 ${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 61d19167-7d47-468f-ac9f-30f183b7f6d9 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.228 ${stdout} Logs the given message with the given level. 172.21.248.228 ${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.228 ${ip_addr_2} Logs the given message with the given level. 172.21.248.228 ${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.228 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.248.12: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 Tue Apr 16 01:33:26 UTC 2024 System load: 0.32 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.12 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.228: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 Tue Apr 16 01:33:28 UTC 2024 System load: 0.22 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.228 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.248.12: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 Tue Apr 16 01:33:29 UTC 2024 System load: 0.29 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.12 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: Tue Apr 16 01:33: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-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.228: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 Tue Apr 16 01:33:31 UTC 2024 System load: 0.2 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.228 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: Tue Apr 16 01:33: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-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} = bea2486d-2ea8-47a5-a3e7-e433870e37c1 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bea2486d-2ea8-47a5-a3e7-e433870e37c1 --literal | yq -r .operationState 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 bea2486d-2ea8-47a5-a3e7-e433870e37c1 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bea2486d-2ea8-47a5-a3e7-e433870e37c1 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bea2486d-2ea8-47a5-a3e7-e433870e37c1 --literal | yq -r .operationState 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} = bea2486d-2ea8-47a5-a3e7-e433870e37c1 ${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} = e5bab6ca-d5a0-4c26-86a2-0b45afd0fd92 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e5bab6ca-d5a0-4c26-86a2-0b45afd0fd92 --literal | yq -r .operationState 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 e5bab6ca-d5a0-4c26-86a2-0b45afd0fd92 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e5bab6ca-d5a0-4c26-86a2-0b45afd0fd92 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show e5bab6ca-d5a0-4c26-86a2-0b45afd0fd92 --literal | yq -r .operationState 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} = e5bab6ca-d5a0-4c26-86a2-0b45afd0fd92 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.248.12: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 Tue Apr 16 01:34:13 UTC 2024 System load: 0.14 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.12 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: Tue Apr 16 01:33: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@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.228: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 Tue Apr 16 01:34:15 UTC 2024 System load: 0.09 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.228 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: Tue Apr 16 01:33: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-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 | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ | 11982307-e15a-48e2-b474-793549f2b30f | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.126 | ubuntu20.04 | several_volumes-VM-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | f1ab1c15-0bc9-4b0a-8061-cfb5ca615325 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.145; osm-ext=172.21.248.228 | ubuntu18.04 | simple_requires-1-1-flv | | 733fcd2d-0518-4188-9ad7-a0e93eec547d | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.132.34; osm-ext=172.21.248.12 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------------------------------------------------+-------------+-----------------------------------------+ ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 a8b3cf1b-83cd-40fb-a496-ac6474846f94 ${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} = a8b3cf1b-83cd-40fb-a496-ac6474846f94 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 488eaea4-400b-46bc-a4bc-22dfcc6b26fb ${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} = 488eaea4-400b-46bc-a4bc-22dfcc6b26fb 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} = 26f5b8c3-721a-4114-9c16-d1607159864b ${stdout} Logs the given message with the given level. 26f5b8c3-721a-4114-9c16-d1607159864b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 26f5b8c3-721a-4114-9c16-d1607159864b ${ns_id} Logs the given message with the given level. 26f5b8c3-721a-4114-9c16-d1607159864b ${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 | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | ee3c5ac1-a79b-4421-9e6e-15a6fd6c9e3a | basic_05_instant-vnf-ubuntu_cloudinit-vnf-VM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | ubuntu_cloudinit-vnf-VM-vnf-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+------------------------+-------------+-----------------------------------------+ ${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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36:01 | BUILDING | INSTANTIATING (f122da5b-4bdd-4831-83a1-cd35893aa3ab) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36:01 | BUILDING | INSTANTIATING (f122da5b-4bdd-4831-83a1-cd35893aa3ab) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ ${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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36:01 | BUILDING | INSTANTIATING (f122da5b-4bdd-4831-83a1-cd35893aa3ab) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36:01 | BUILDING | INSTANTIATING (f122da5b-4bdd-4831-83a1-cd35893aa3ab) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------+-------------+-----------------------------------------+ ${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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36:01 | BUILDING | INSTANTIATING (f122da5b-4bdd-4831-83a1-cd35893aa3ab) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36:01 | BUILDING | INSTANTIATING (f122da5b-4bdd-4831-83a1-cd35893aa3ab) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-----------------------------------------+ | 1f06d29a-e9e1-4cf4-8720-b5ecaf0c2fd8 | basic_08_disable-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 8a41adf2-0df9-4c48-833a-9fd1a7f0ce1e | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 1dacb350-ab25-4243-96a0-d72de14bd0fb | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.46.173; basic_08_disable-internal=192.168.70.167 | ubuntu20.04 | simple_requires-1-1-flv | | 83ef5f3a-9754-421a-a9a5-05c9a7489555 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.70.131; osm-ext=172.21.249.41 | ubuntu20.04 | simple_requires-1-1-flv | | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 50fec96f-3aee-425c-8200-624bb324394f | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | ERROR | osm-ext=172.21.249.214 | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36: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 | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-----------------------------------------+ | bd900516-a8cc-480c-832f-93b7442b2eda | heal_04-autoheal-basic-1-autoheal_vnfd-VM-0 | BUILD | | ubuntu20.04 | autoheal_vnfd-VM-autoheal-basic-1-1-flv | | 1f06d29a-e9e1-4cf4-8720-b5ecaf0c2fd8 | basic_08_disable-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 8a41adf2-0df9-4c48-833a-9fd1a7f0ce1e | basic_08_disable-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 1dacb350-ab25-4243-96a0-d72de14bd0fb | basic_08_disable-vnf1-dataVM-0 | ACTIVE | basic_08_disable-datanet=192.168.46.173; basic_08_disable-internal=192.168.70.167 | ubuntu20.04 | simple_requires-1-1-flv | | 83ef5f3a-9754-421a-a9a5-05c9a7489555 | basic_08_disable-vnf1-mgmtVM-0 | ACTIVE | basic_08_disable-internal=192.168.70.131; osm-ext=172.21.249.41 | ubuntu20.04 | simple_requires-1-1-flv | | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------------+--------+-----------------------------------------------------------------------------------+-------------+-----------------------------------------+ ${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 | 26f5b8c3-721a-4114-9c16-d1607159864b | 2024-04-16T01:36: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} = 26f5b8c3-721a-4114-9c16-d1607159864b 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} = 26f5b8c3-721a-4114-9c16-d1607159864b ${stdout} Logs the given message with the given level. 26f5b8c3-721a-4114-9c16-d1607159864b ${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} = 26f5b8c3-721a-4114-9c16-d1607159864b ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 26f5b8c3-721a-4114-9c16-d1607159864b 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 26f5b8c3-721a-4114-9c16-d1607159864b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.253 ${stdout} Logs the given message with the given level. 172.21.248.253 ${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.253 ${ip_addr_1} Logs the given message with the given level. 172.21.248.253 ${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.253 ${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 26f5b8c3-721a-4114-9c16-d1607159864b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.32 ${stdout} Logs the given message with the given level. 172.21.249.32 ${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.32 ${ip_addr_2} Logs the given message with the given level. 172.21.249.32 ${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.32 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.248.253: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 Tue Apr 16 01:38:22 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.248.253 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.32: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 Tue Apr 16 01:38:24 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.249.32 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.248.253: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 Tue Apr 16 01:38:26 UTC 2024 System load: 0.18 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.253 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: Tue Apr 16 01:38: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.32: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 Tue Apr 16 01:38:27 UTC 2024 System load: 0.15 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.32 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: Tue Apr 16 01:38: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@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} = 402a782a-cba8-401d-b9a7-1b38f9458c38 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 402a782a-cba8-401d-b9a7-1b38f9458c38 --literal | yq -r .operationState 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 402a782a-cba8-401d-b9a7-1b38f9458c38 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 402a782a-cba8-401d-b9a7-1b38f9458c38 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 402a782a-cba8-401d-b9a7-1b38f9458c38 --literal | yq -r .operationState 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} = 402a782a-cba8-401d-b9a7-1b38f9458c38 ${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} = a6ee3585-aa58-4be9-a272-4277c3233a96 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a6ee3585-aa58-4be9-a272-4277c3233a96 --literal | yq -r .operationState 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 a6ee3585-aa58-4be9-a272-4277c3233a96 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a6ee3585-aa58-4be9-a272-4277c3233a96 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show a6ee3585-aa58-4be9-a272-4277c3233a96 --literal | yq -r .operationState 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} = a6ee3585-aa58-4be9-a272-4277c3233a96 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.248.253: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 Tue Apr 16 01:39:09 UTC 2024 System load: 0.08 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.253 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: Tue Apr 16 01:38: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.32: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 Tue Apr 16 01:39:11 UTC 2024 System load: 0.07 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.32 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: Tue Apr 16 01:38: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 | +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 0a7ef1a9-c931-4935-935a-7d579327da6f | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.78; osm-ext=172.21.249.32 | ubuntu18.04 | simple_requires-1-1-flv | | b124a20c-cbb7-4ccf-a2db-3dc2684ea482 | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.191.69; osm-ext=172.21.248.253 | ubuntu18.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 56b84307-8a9c-4b06-8579-54c2ae1699e2 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 56b84307-8a9c-4b06-8579-54c2ae1699e2 | basic_09_manual_-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.33 | ubuntu20.04 | simple_requires-1-1-flv | | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 9608d956-3725-4282-b2f2-105d56f6086f | basic_09_manual_-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.188 | ubuntu20.04 | simple_requires-1-1-flv | | d76e961b-53ce-495a-8761-ef107d3d611d | basic_22-3-simple_provides-0 | ACTIVE | osm-ext=172.21.248.247 | ubuntu18.04 | simple_requires-1-1-flv | | 06be8a44-51e6-43bd-bcc3-28de8d3ca527 | basic_22-3-simple_requires-0 | ACTIVE | osm-ext=172.21.248.80 | ubuntu18.04 | simple_requires-1-1-flv | | 43ef267d-474f-4ef3-8188-e92d3702f3e5 | basic_22-2-simple_provides-0 | ACTIVE | osm-ext=172.21.249.99 | ubuntu18.04 | simple_requires-1-1-flv | | 8d686df2-46b5-448a-9d96-0e2e805c9826 | basic_22-2-simple_requires-0 | ACTIVE | osm-ext=172.21.249.178 | ubuntu18.04 | simple_requires-1-1-flv | | 93429d24-f84b-4d91-8264-5a8730ffb0a1 | basic_22-1-simple_provides-0 | ACTIVE | osm-ext=172.21.248.252 | ubuntu18.04 | simple_requires-1-1-flv | | a2868e36-7fb3-4162-9e6a-b418304428d0 | basic_22-1-simple_requires_kdu-0 | ACTIVE | osm-ext=172.21.249.58 | ubuntu18.04 | simple_requires-1-1-flv | | 1be9db20-5a73-402e-9ac3-5b2e03af10a4 | basic_22-1-simple_requires-0 | ACTIVE | osm-ext=172.21.248.58 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 6dc8ed23-8571-49c0-bb39-307611b4528c ${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} = 6dc8ed23-8571-49c0-bb39-307611b4528c 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 114ec601-ae00-4a3c-bb45-f12fc088d7b1 ${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} = 114ec601-ae00-4a3c-bb45-f12fc088d7b1 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} = 3c508ba8-4b8f-4e49-831a-4dc42c544357 ${stdout} Logs the given message with the given level. 3c508ba8-4b8f-4e49-831a-4dc42c544357 ${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} = 3c508ba8-4b8f-4e49-831a-4dc42c544357 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} = 6d8b3e73-8ba1-4e2e-9296-6da84ff2596c ${stdout} Logs the given message with the given level. 6d8b3e73-8ba1-4e2e-9296-6da84ff2596c ${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 | 6d8b3e73-8ba1-4e2e-9296-6da84ff2596c | 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 | 6d8b3e73-8ba1-4e2e-9296-6da84ff2596c | 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 | "6d8b3e73-8ba1-4e2e-9296-6da84ff2596c" | | 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 | | | Vm02SVliZ0c2M1l3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOVEEwTURFd016QXdNREZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXR5 | | | UDZiMmordHVINCtJTCsKRkt4YW5yMWNZUEJLdHp0UDIxSTVaNkhHWHBOdWJCS1lHTU52U0crVkd4REVYa3VSQk54ZFp2M1RteGpa | | | MWJDNQpyZTU5Z0duR2hPK1dKY0FrZDNudE9lMWpBSmNsM3Y0NmRxSisxVmJ2UDVSS09hQ2c1dzVmSFlxS25YSXpZTG80Cm9BRC9t | | | Vmh4WXplZzlJM2hWeUNhUFUrM3VkQ25NaXVsZnROd0VIWDEwaHFtb1R6eDJqSWdqVnB6eGl3WllRc08KVUpmRWdNV3gydkw5T0hG | | | TUwvWFIrb2VIc2RSWVpBZUkyRnF4VHJCcU45R2xLQ3h5S1ZPSkhEdFRPT1IzbDJKRgphRFlRbnlUYVVMNk9nRlBJQ1VTVitWUHdO | | | WG96UlN6Nkp2Tm5NWmpkTG41NjNXY3M1cEZwNjBETTlUMUMveE5pClFaUkRCUUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBSml0dEhjODRjVmJnanJSOEt1dUh0K01Qd2s5 | | | eTdWTG5MQ1BsCmM3ckV6eHg5RDEzS0QyeTN6NzlrRDNSOXNmMHVicWczUjI2cFdJNCtObkc4b0VsK2FmelovcTRHb0laRW0zWEIK | | | ZE1hRlJRcVk2U1JXWERUVHVjZEFxVmt4VG4rTVFSSUZrZXUycUxMU3RMeFk2V0dtMXEvTUFxQ3o0WkNFejBHOApXSXFnTlNpUzJY | | | SytjQkN4cUlDbnQ1ODFGYXRLaHZnRk5rTjhFTlJlQ2VVQUw1N2pOaGZQVS9MOVY2RTllMENYCldkTUFkSithYyt6UGJuUU1GcktJ | | | NkdoOEsxNHdIS2FTTDNjV29sQUxLcUVTc0JLU2hsV0J0MWMxcTROSzNCOWMKRWsyNURLYU53SUxHZkx6dU0wY2dsNVdZQ3lsTmFS | | | M2FpQmVtbGx4aUUrR1hxckd1c0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBdHlQNmIy | | | ait0dUg0K0lMK0ZLeGFucjFjWVBCS3R6dFAyMUk1WjZIR1hwTnViQktZCkdNTnZTRytWR3hERVhrdVJCTnhkWnYzVG14aloxYkM1 | | | cmU1OWdHbkdoTytXSmNBa2QzbnRPZTFqQUpjbDN2NDYKZHFKKzFWYnZQNVJLT2FDZzV3NWZIWXFLblhJellMbzRvQUQvbVZoeFl6 | | | ZWc5STNoVnlDYVBVKzN1ZENuTWl1bApmdE53RUhYMTBocW1vVHp4MmpJZ2pWcHp4aXdaWVFzT1VKZkVnTVd4MnZMOU9IRk1ML1hS | | | K29lSHNkUllaQWVJCjJGcXhUckJxTjlHbEtDeHlLVk9KSER0VE9PUjNsMkpGYURZUW55VGFVTDZPZ0ZQSUNVU1YrVlB3TlhvelJT | | | ejYKSnZObk1aamRMbjU2M1djczVwRnA2MERNOVQxQy94TmlRWlJEQlFJREFRQUJBb0lCQVFDTjlXVjZWbmlhYWk4Qwo4d2JnSDNs | | | ZThvbFkydW9QZmZvNGwxUEg4SzVEUVNTbXdRTUVydmpqdlJwbkVHZ21iNHpKcDhiK3ZtSDRKeHN6CmVQbDB5UmlmSVY2d1RNYW1I | | | SG9uNG1yd0xBSkJ3dWVvSW9oT3pVWmpPQy9icUthZ1pOSlVSOStTbG9FNzZmbkoKVUkvejl0SXBtMVRKQTZYUDZ1cHhEdVNBQWZy | | | NEhHU01CMllKSWN1MW9WQWN3azY2YVlFa2c0NElnSnVWTGo1Swp6Nnh2ZUNlU3libWkyUkZ0dXFpNVFMRGl0a2Zsdk9Wa3BGUVQ5 | | | a0FDeTRSZTJ6Q2pzTVFyVFljQzNzdnhqaDlHClJ2QjZYczdWSTE2ZFhTMytZKzE2aW5yT1kzT1BUU1BySG5RcFJwRWZXL2Q1VS9S | | | ZzZqR2M0ZUMxa1o3YzNtQk4KMk5zVWNRRkJBb0dCQU5BZmRSdEh4aHVjM1o1TmcvTXRwbDk2NGpRMDZnd3dZYVVNYTFlOXZKZjYy | | | RjFiMThMTwpZUUltRmxQYUlJaFFCTU10elNIa1ZHL0JYbEd3WjgyNFdvUnd6MXBCU2lvNkJhTW9pT2hrcmRvK1FicW5vZlZCCkZ0 | | | dE9OcU1TK0hyVlNNdTY1QWJnbllscDZ0RDZsQ0lkaU1saWJ2ak5FUTJrdWQyanJyZGhvMUh2QW9HQkFPRkYKU2RjaUlTUDBuakxy | | | OGF5ZFVCK2xXeDR4MHY2VFp5NTFuSnpiWm1Ma3FTS2FsbWkrQk9OTDNJbjJSd1BCa3pjdwppUGp1cHB2a2dSRWpyU3VLR1NwMGRN | | | VmpxVDZGb2dmYVRDVjBBN0RxZ3VuTHpjUVZka1grNTU5bk5uQ0dLb2poCkhJYmVncm1NRytsc3M3RHZJQUk5cFhwRnJ2V0JZNCsw | | | N1VwTE10NUxBb0dCQUpPekgzckN6eGRkbGZINGRRSXAKalg4SlNHdGdlaEU0YkxPalFySzhGcEdORmV2N2QvM3FWUElmY1kwRXFq | | | M1MrKzVBSE9wR2pwM1pEMFROK24wRwpya1o3Z013K3RaR09KOTRJc0ZDczBxeWxyaVAzUDNzOFBDcGJNVzg5MFZYcTg0U1NGNjNC | | | emt0cy9aWmRucTh2CllwbjQzMlIycy9tSXc5ZEZpSUxnS2ZYRkFvR0FBYVNkdTBIMmQrcXExTGcvMVFCNHV5SmJuY2JEUVRRV0Jw | | | SzUKQjdQWjlWS3hvUno3aDl3SzhSVjJrRk1KaFk5OTRXTXJQSldSQllZUEl1N2Rybm1kWVYva0VpUjk4WVRMLzc2cAoyNFFUR3RF | | | N0R6VjdWTGpMV2d0WDZTTzVrK3lHbHVUOWJrWmxNYkZCNnR2dUc1WkM1NEZIbWJLMGFmbjluZWkxCjZsck9EaTBDZ1lFQXhXdEhi | | | S0kzSURvbkw2ejZzajJPOUo2RXpwaDVaM3B6OXd0L1VYU1hQV3kwUzcxZ3BKWFUKVlp6cEtURzZVZ3RtMWhIUUtlVXN0WVBzdU9E | | | Rmx0YXl0eFBrYTY2ZG5yby8wTHFwOFBSRlNOMkhTdEk2YUROcAo2T3ltQzlDYUhSU3JNYjF0cnNvUmlOSjlPTUd4YW8zTmlmSk1C | | | K0tjcWh4VUJ0c0FiWmVqWUQwPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "3c508ba8-4b8f-4e49-831a-4dc42c544357" | | nets | { | | | "net1": "null" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713231661.7389526, | | | "modified": 1713231667.0788672, | | | "projects_read": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "projects_write": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713231661.7389874, | | | "statusEnteredTime": 1713231661.7389874, | | | "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": "6d8b3e73-8ba1-4e2e-9296-6da84ff2596c", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "6d8b3e73-8ba1-4e2e-9296-6da84ff2596c", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "6d8b3e73-8ba1-4e2e-9296-6da84ff2596c", | | | "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 | 6d8b3e73-8ba1-4e2e-9296-6da84ff2596c | 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 | 6d8b3e73-8ba1-4e2e-9296-6da84ff2596c | 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} = 7153e9ae-dd23-412d-8528-50549d4d18b8 ${stdout} Logs the given message with the given level. 7153e9ae-dd23-412d-8528-50549d4d18b8 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 7153e9ae-dd23-412d-8528-50549d4d18b8 ${ns_id} Logs the given message with the given level. 7153e9ae-dd23-412d-8528-50549d4d18b8 ${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 | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+------------------------+-------------+----------------------+ ${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 | 7153e9ae-dd23-412d-8528-50549d4d18b8 | 2024-04-16T01:41:39 | BUILDING | INSTANTIATING (9e13d710-40d5-4b8e-9720-dd3493ea0e86) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 7153e9ae-dd23-412d-8528-50549d4d18b8 | 2024-04-16T01:41:39 | BUILDING | INSTANTIATING (9e13d710-40d5-4b8e-9720-dd3493ea0e86) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 7153e9ae-dd23-412d-8528-50549d4d18b8 | 2024-04-16T01:41:39 | BUILDING | INSTANTIATING (9e13d710-40d5-4b8e-9720-dd3493ea0e86) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 7153e9ae-dd23-412d-8528-50549d4d18b8 | 2024-04-16T01:41:39 | BUILDING | INSTANTIATING (9e13d710-40d5-4b8e-9720-dd3493ea0e86) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 7153e9ae-dd23-412d-8528-50549d4d18b8 | 2024-04-16T01:41:39 | 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 7153e9ae-dd23-412d-8528-50549d4d18b8 | 2024-04-16T01:41:39 | 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} = 7153e9ae-dd23-412d-8528-50549d4d18b8 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 7153e9ae-dd23-412d-8528-50549d4d18b8 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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | N... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 4f5aa22f-4767-4fcd-aae6-0e84b7b33af9 ${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} = 4f5aa22f-4767-4fcd-aae6-0e84b7b33af9 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 c5c640a1-43cf-4f99-9794-edb07cd4266f ${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} = c5c640a1-43cf-4f99-9794-edb07cd4266f 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} ], additionalParamsForVnf: [{member-vnf-index: native_k8s_scale_charm-vnf, additionalParamsForKdu: [{ kdu_name: native-kdu, additionalParam... ${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} ], additionalParamsForVnf: [{member-vnf-index: native_k8s_scale_charm-vnf, additionalParamsForKdu: [{ kdu_name: native-kdu, additionalParams: { overlay: { applications: { nginx: { scale: 2 } }}}}]}]}' --ssh_keys /root/.ssh/id_rsa.pub 2>&1'. ${rc} = 0 ${stdout} = 8b3980ec-51c8-452a-93df-7974e18c9b05 ${stdout} Logs the given message with the given level. 8b3980ec-51c8-452a-93df-7974e18c9b05 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 8b3980ec-51c8-452a-93df-7974e18c9b05 ${ns_id} Logs the given message with the given level. 8b3980ec-51c8-452a-93df-7974e18c9b05 ${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 | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 4e6997ae-2d3c-4a6f-9404-e075cc43f36b | basic_16-vnf-hackfest_basic_metrics-VM-4 | ACTIVE | osm-ext=172.21.248.131 | ubuntu20.04 | simple_requires-1-1-flv | | f6a3c5cd-de7f-4f6e-9873-f05cc3567e89 | basic_16-vnf-hackfest_basic_metrics-VM-3 | ACTIVE | osm-ext=172.21.248.127 | ubuntu20.04 | simple_requires-1-1-flv | | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 8b3980ec-51c8-452a-93df-7974e18c9b05 | 2024-04-16T01:43:46 | BUILDING | INSTANTIATING (7988ed0e-7f65-48e3-bbc4-3dc1230937d4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 8b3980ec-51c8-452a-93df-7974e18c9b05 | 2024-04-16T01:43:46 | BUILDING | INSTANTIATING (7988ed0e-7f65-48e3-bbc4-3dc1230937d4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 20750538-f300-42be-a6e0-c855974b6458 | basic_16-vnf-hackfest_basic_metrics-VM-2 | ACTIVE | osm-ext=172.21.248.22 | ubuntu20.04 | simple_requires-1-1-flv | | 29a2c2bb-bcdf-485c-9f7a-4edb9a463fd5 | basic_16-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.248.139 | ubuntu20.04 | simple_requires-1-1-flv | | a33454ff-7832-47cd-9e4e-54d217cd4d58 | basic_16-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.216 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 8b3980ec-51c8-452a-93df-7974e18c9b05 | 2024-04-16T01:43:46 | BUILDING | INSTANTIATING (7988ed0e-7f65-48e3-bbc4-3dc1230937d4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 8b3980ec-51c8-452a-93df-7974e18c9b05 | 2024-04-16T01:43:46 | BUILDING | INSTANTIATING (7988ed0e-7f65-48e3-bbc4-3dc1230937d4) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 8b3980ec-51c8-452a-93df-7974e18c9b05 | 2024-04-16T01:43: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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ | 2b816d36-4eb3-437e-a54d-991554279442 | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.131 | ubuntu20.04 | simple_requires-1-1-flv | | e47afc01-9742-476c-a010-08a4507e2989 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.112 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+------------------------+-------------+-------------------------+ ${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 | 8b3980ec-51c8-452a-93df-7974e18c9b05 | 2024-04-16T01:43: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} = 8b3980ec-51c8-452a-93df-7974e18c9b05 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 8b3980ec-51c8-452a-93df-7974e18c9b05 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.13 ${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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:44:59 UTC 2024 System load: 1.23779296875 Users logged in: 0 Usage of /: 23.4% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 50% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 453 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Tue Apr 16 00:02:13 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${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 8b3980ec-51c8-452a-93df-7974e18c9b05 | cut -f1 -d " "'. Command exited with return code 0. ${stdout} = native-kdu-8b3980ec-51c8-452a-93df-7974e18c9b05 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. native-kdu-8b3980ec-51c8-452a-93df-7974e18c9b05 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-8b3980ec-51c8-452a-93df-7974e18c9b05 ${stdout} Logs the given message with the given level. native-kdu-8b3980ec-51c8-452a-93df-7974e18c9b05 ${model_name} ${kdu_name}-${ns_id} Returns the given values which can then be assigned to a variables. ${model_name} = native-kdu-8b3980ec-51c8-452a-93df-7974e18c9b05 ${model_name} ${stdout} Fails if objects are unequal after converting them to strings. ${name} = native-kdu-8b3980ec-51c8-452a-93df-7974e18c9b05 ${model_name} ${name} Makes a variable available everywhere within the scope of the current suite. ${model_name} = native-kdu-8b3980ec-51c8-452a-93df-7974e18c9b05 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.13 ${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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:44:59 UTC 2024 System load: 1.23779296875 Users logged in: 0 Usage of /: 23.4% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 50% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 453 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Tue Apr 16 01:45:00 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${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-8b3980ec-51c8-452a-93df-7974e18c9b05 | 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 ${initial_kdu_count} ${kdu_count} Makes a variable available everywhere within the scope of the current suite. ${initial_kdu_count} = 2 ${initial_kdu_count} != ${instantiation_count} Fail msg=Instantiation parameters were not applied. Runs the given keyword with the given arguments, if ``condition`` is true. 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} = bb39ca69-ac41-4efa-9d63-91ebe6650d95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb39ca69-ac41-4efa-9d63-91ebe6650d95 --literal | yq -r .operationState 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 bb39ca69-ac41-4efa-9d63-91ebe6650d95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb39ca69-ac41-4efa-9d63-91ebe6650d95 --literal | yq -r .operationState 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 bb39ca69-ac41-4efa-9d63-91ebe6650d95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb39ca69-ac41-4efa-9d63-91ebe6650d95 --literal | yq -r .operationState 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 bb39ca69-ac41-4efa-9d63-91ebe6650d95 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb39ca69-ac41-4efa-9d63-91ebe6650d95 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show bb39ca69-ac41-4efa-9d63-91ebe6650d95 --literal | yq -r .operationState 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} = bb39ca69-ac41-4efa-9d63-91ebe6650d95 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.13 ${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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:44:59 UTC 2024 System load: 1.23779296875 Users logged in: 0 Usage of /: 23.4% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 50% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 453 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Tue Apr 16 01:45:02 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${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-8b3980ec-51c8-452a-93df-7974e18c9b05 | grep scale | awk -F ': ' '{print $2}''. Command exited with return code 0. ${stdout} = 3 ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. 3 Closes all open connections. ${rc} 0 Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${stdout} = 3 ${stdout} Logs the given message with the given level. 3 ${kdu_count} = 3 ${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} = 96832eb0-8a57-480a-9dce-62ad0f2cee59 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 96832eb0-8a57-480a-9dce-62ad0f2cee59 --literal | yq -r .operationState 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 96832eb0-8a57-480a-9dce-62ad0f2cee59 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 96832eb0-8a57-480a-9dce-62ad0f2cee59 --literal | yq -r .operationState 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 96832eb0-8a57-480a-9dce-62ad0f2cee59 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 96832eb0-8a57-480a-9dce-62ad0f2cee59 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 96832eb0-8a57-480a-9dce-62ad0f2cee59 --literal | yq -r .operationState 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} = 96832eb0-8a57-480a-9dce-62ad0f2cee59 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.13 ${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.13:22' as 'ubuntu'. Read output: Welcome to Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-47-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Tue Apr 16 01:46:32 UTC 2024 System load: 1.37548828125 Users logged in: 0 Usage of /: 23.4% of 116.12GB IPv4 address for cni0: 10.244.0.1 Memory usage: 49% IPv4 address for docker0: 172.17.0.1 Swap usage: 0% IPv4 address for ens3: 172.21.249.13 Processes: 455 IPv4 address for lxdbr0: 10.147.93.1 * Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s just raised the bar for easy, resilient and secure K8s cluster deployment. https://ubuntu.com/engage/secure-kubernetes-at-the-edge 202 updates can be applied immediately. 133 of these updates are standard security updates. To see these additional updates run: apt list --upgradable *** System restart required *** Last login: Tue Apr 16 01:45:55 2024 from 172.21.249.4 [?2004hubuntu@osm-v140-merge-298:~$ ${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-8b3980ec-51c8-452a-93df-7974e18c9b05 | 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} 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} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.6; basic_18-datanet2=192.168.20.53; basic_18-datanet3=192.168.30.129; osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | basic_18-datanet1=192.168.10.122; basic_18-datanet2=192.168.20.112; basic_18-datanet3=192.168.30.147; osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 ${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. [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 6afaf69f-d9a4-4a9a-8990-c7c0653c8d24 ${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} = 6afaf69f-d9a4-4a9a-8990-c7c0653c8d24 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 448063dc-d3d6-4d5f-a857-7adcb8e365e2 ${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} = 448063dc-d3d6-4d5f-a857-7adcb8e365e2 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} = 5da473ba-e642-4198-be94-e48d6c29f7e5 ${stdout} Logs the given message with the given level. 5da473ba-e642-4198-be94-e48d6c29f7e5 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 5da473ba-e642-4198-be94-e48d6c29f7e5 ${ns_id} Logs the given message with the given level. 5da473ba-e642-4198-be94-e48d6c29f7e5 ${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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 8de27939-65aa-423e-adf5-af0fc88c845a | basic_18-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.180 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 8b6bfcbd-eff8-4abb-876e-8fa9d0eb91b1 | basic_18-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.249.148 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 5da473ba-e642-4198-be94-e48d6c29f7e5 | 2024-04-16T01:48:19 | BUILDING | INSTANTIATING (279b25c0-61c4-4f27-aa24-e3242d2c3eb1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 5da473ba-e642-4198-be94-e48d6c29f7e5 | 2024-04-16T01:48:19 | BUILDING | INSTANTIATING (279b25c0-61c4-4f27-aa24-e3242d2c3eb1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 5da473ba-e642-4198-be94-e48d6c29f7e5 | 2024-04-16T01:48:19 | BUILDING | INSTANTIATING (279b25c0-61c4-4f27-aa24-e3242d2c3eb1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 5da473ba-e642-4198-be94-e48d6c29f7e5 | 2024-04-16T01:48:19 | BUILDING | INSTANTIATING (279b25c0-61c4-4f27-aa24-e3242d2c3eb1) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.2; osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | basic_25_charm_u-datanet=192.168.239.239; osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 5da473ba-e642-4198-be94-e48d6c29f7e5 | 2024-04-16T01:48: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 | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 7c9b1b33-a709-493e-b901-ffaf34a6eb67 | basic_25_charm_u-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.126 | ubuntu18.04 | simple_requires-1-1-flv | | 92b297ba-3f4e-477d-8ff5-7ac1b1142694 | basic_25_charm_u-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.167 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 | 5da473ba-e642-4198-be94-e48d6c29f7e5 | 2024-04-16T01:48: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} = 5da473ba-e642-4198-be94-e48d6c29f7e5 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 5da473ba-e642-4198-be94-e48d6c29f7e5 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} = f5aff427-c972-443d-b389-45741e9859f0 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f5aff427-c972-443d-b389-45741e9859f0 --literal | yq -r .operationState 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 f5aff427-c972-443d-b389-45741e9859f0 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f5aff427-c972-443d-b389-45741e9859f0 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show f5aff427-c972-443d-b389-45741e9859f0 --literal | yq -r .operationState 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} = f5aff427-c972-443d-b389-45741e9859f0 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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.217; osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_05-k8s_proxy-datanet=192.168.127.201; osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+------------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ | 6ee33281-01c4-4efb-a3d7-fc615caeee93 | basic_19-vnf-dataVM-0 | ACTIVE | basic_19-internal=192.168.200.148 | ubuntu20.04 | simple_requires-1-1-flv | | b58c690e-46c9-4337-8fc0-c5ce834c8a04 | basic_19-vnf-mgmtVM-0 | ACTIVE | basic_19-internal=192.168.200.155; osm-ext=172.21.249.255 | ubuntu20.04 | simple_requires-1-1-flv | | 31aa3f64-61ab-4f06-9068-32045f3bd504 | k8s_05-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu18.04 | simple_requires-1-1-flv | | 3ade7c21-4903-49bb-802c-1e696d098253 | k8s_05-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.196 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-----------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-----------------------------+ | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | BUILD | | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+------------------------+-------------+-----------------------------+ ${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} = +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+--------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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} = +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+--------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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 ${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. [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 5544d7b0-c8da-49d5-9e6e-595aac0740cc ${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} = 5544d7b0-c8da-49d5-9e6e-595aac0740cc 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 b90fad13-0aee-4835-b5f4-a583c318042b ${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} = b90fad13-0aee-4835-b5f4-a583c318042b 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} = 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b ${stdout} Logs the given message with the given level. 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b ${ns_id} Logs the given message with the given level. 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b ${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 | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | aa8cdeaa-cad0-49e8-9eee-e377acc2b5fc | epa_01-epa_sriov-vnf-hackfest_basic-VM-0 | ACTIVE | epa_01-epa_sriov-sriov_vld=192.168.77.199; osm-ext=172.21.249.166 | ubuntu18.04 | hackfest_basic-VM-vnf-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+-------------------------------------------------------------------+-------------+-----------------------------+ ${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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51:37 | BUILDING | INSTANTIATING (5d745440-b87c-4627-a6cf-77c92239c76c) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51:37 | BUILDING | INSTANTIATING (5d745440-b87c-4627-a6cf-77c92239c76c) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.17 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51:37 | BUILDING | INSTANTIATING (5d745440-b87c-4627-a6cf-77c92239c76c) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51:37 | BUILDING | INSTANTIATING (5d745440-b87c-4627-a6cf-77c92239c76c) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 | epa_02-epa_quota-vnf-epa_quota-VM-0 | BUILD | | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 1fa343cd-18fe-4384-9236-0ac274e83c00 | basic_21-vnf-several-volu-several_volumes-VM-0 | ACTIVE | | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51:37 | BUILDING | INSTANTIATING (5d745440-b87c-4627-a6cf-77c92239c76c) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51:37 | BUILDING | INSTANTIATING (5d745440-b87c-4627-a6cf-77c92239c76c) | N/A | +------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51: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} = +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | d342fcbc-3fb5-45cb-a524-2d9ffc0206d3 | epa_02-epa_quota-vnf-epa_quota-VM-0 | ACTIVE | osm-ext=172.21.248.182 | ubuntu18.04 | epa_quota-VM-vnf-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 | 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | 2024-04-16T01:51: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} = 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b 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 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.190 ${stdout} Logs the given message with the given level. 172.21.248.190 ${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.190 ${ip_addr_1} Logs the given message with the given level. 172.21.248.190 ${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.190 ${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 49b8fd2c-46b5-4cc3-83b1-74fbf6b2008b | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.207 ${stdout} Logs the given message with the given level. 172.21.249.207 ${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.207 ${ip_addr_2} Logs the given message with the given level. 172.21.249.207 ${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.207 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.190: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 Tue Apr 16 01:53:56 UTC 2024 System load: 0.11 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.190 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.207: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 Tue Apr 16 01:53:58 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.249.207 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.190: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 Tue Apr 16 01:53:59 UTC 2024 System load: 0.11 Processes: 87 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.248.190 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: Tue Apr 16 01:53:56 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.207: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 Tue Apr 16 01:54:01 UTC 2024 System load: 0.33 Processes: 86 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 12% IP address for ens3: 172.21.249.207 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: Tue Apr 16 01:53:58 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} = b7bac959-3213-4152-ba12-3ce62fb94c46 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b7bac959-3213-4152-ba12-3ce62fb94c46 --literal | yq -r .operationState 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 b7bac959-3213-4152-ba12-3ce62fb94c46 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b7bac959-3213-4152-ba12-3ce62fb94c46 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show b7bac959-3213-4152-ba12-3ce62fb94c46 --literal | yq -r .operationState 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} = b7bac959-3213-4152-ba12-3ce62fb94c46 ${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} = 92ef4583-e73e-4f10-a3ed-e1a6d6f9a5b2 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 92ef4583-e73e-4f10-a3ed-e1a6d6f9a5b2 --literal | yq -r .operationState 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 92ef4583-e73e-4f10-a3ed-e1a6d6f9a5b2 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 92ef4583-e73e-4f10-a3ed-e1a6d6f9a5b2 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 92ef4583-e73e-4f10-a3ed-e1a6d6f9a5b2 --literal | yq -r .operationState 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} = 92ef4583-e73e-4f10-a3ed-e1a6d6f9a5b2 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.190: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 Tue Apr 16 01:54:43 UTC 2024 System load: 0.05 Processes: 88 Usage of /: 11.8% of 9.52GB Users logged in: 0 Memory usage: 14% IP address for ens3: 172.21.248.190 Swap usage: 0% 0 updates can be applied immediately. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 01:54:00 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.207: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 Tue Apr 16 01:54:45 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.249.207 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: Tue Apr 16 01:54:02 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} = +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------+-------------+---------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ | 033cdc31-2f37-4da1-b26c-9bcd4d122c5b | basic_24-affinity-basic-1-affinity_basic-VM-2-0 | ACTIVE | osm-ext=172.21.249.254 | ubuntu20.04 | simple_requires-1-1-flv | | e5ed5570-6bbf-43bf-bf4c-1a3ff5fb52b3 | basic_24-affinity-basic-1-affinity_basic-VM-1-0 | ACTIVE | osm-ext=172.21.248.100 | ubuntu20.04 | simple_requires-1-1-flv | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | cb258e7b-44fd-4ce2-b769-ee602be1971f | k8s_10-k8s_proxy-vnf2-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.235; osm-ext=172.21.249.207 | ubuntu18.04 | simple_requires-1-1-flv | | 7c361a06-5759-4845-884a-65dac459966e | k8s_10-k8s_proxy-vnf1-mgmtVM-0 | ACTIVE | k8s_10-k8s_proxy-datanet=192.168.53.126; osm-ext=172.21.248.190 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-------------------------------------------------+--------+-----------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.68; osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | k8s_06-nopasswd_-datanet=192.168.9.148; osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+----------------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 2a6bebf5-411c-49c2-ada9-9152b81a320d | k8s_06-nopasswd_-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.225 | ubuntu18.04 | simple_requires-1-1-flv | | b45a17fb-fd87-4000-9663-0b5d994094fd | k8s_06-nopasswd_-vnf1-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.168 | ubuntu18.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------+--------+-------------------------------------------------------+-------------+-------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | BUILD | | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${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 ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${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 7c349504-e612-4e83-9ab2-de5ce351a949 ${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} = 7c349504-e612-4e83-9ab2-de5ce351a949 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 2321ca61-6e95-432a-ab12-6059d6280aaf ${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} = 2321ca61-6e95-432a-ab12-6059d6280aaf 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} = ca0ba47e-d431-4ea3-b966-c6a7bb787567 ${stdout} Logs the given message with the given level. ca0ba47e-d431-4ea3-b966-c6a7bb787567 ${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 | ca0ba47e-d431-4ea3-b966-c6a7bb787567 | 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 | ca0ba47e-d431-4ea3-b966-c6a7bb787567 | 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 | "ca0ba47e-d431-4ea3-b966-c6a7bb787567" | | 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 | | | Vm02SVliZ0c2M1l3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TWpBM01E | | | Y3lNalU1TlRoYUZ3MHlOVEEwTURFd016QXdNREZhTURReApGekFWQmdOVkJBb1REbk41YzNSbGJUcHRZWE4wWlhKek1Sa3dGd1lE | | | VlFRREV4QnJkV0psY201bGRHVnpMV0ZrCmJXbHVNSUlCSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQXR5 | | | UDZiMmordHVINCtJTCsKRkt4YW5yMWNZUEJLdHp0UDIxSTVaNkhHWHBOdWJCS1lHTU52U0crVkd4REVYa3VSQk54ZFp2M1RteGpa | | | MWJDNQpyZTU5Z0duR2hPK1dKY0FrZDNudE9lMWpBSmNsM3Y0NmRxSisxVmJ2UDVSS09hQ2c1dzVmSFlxS25YSXpZTG80Cm9BRC9t | | | Vmh4WXplZzlJM2hWeUNhUFUrM3VkQ25NaXVsZnROd0VIWDEwaHFtb1R6eDJqSWdqVnB6eGl3WllRc08KVUpmRWdNV3gydkw5T0hG | | | TUwvWFIrb2VIc2RSWVpBZUkyRnF4VHJCcU45R2xLQ3h5S1ZPSkhEdFRPT1IzbDJKRgphRFlRbnlUYVVMNk9nRlBJQ1VTVitWUHdO | | | WG96UlN6Nkp2Tm5NWmpkTG41NjNXY3M1cEZwNjBETTlUMUMveE5pClFaUkRCUUlEQVFBQm8xWXdWREFPQmdOVkhROEJBZjhFQkFN | | | Q0JhQXdFd1lEVlIwbEJBd3dDZ1lJS3dZQkJRVUgKQXdJd0RBWURWUjBUQVFIL0JBSXdBREFmQmdOVkhTTUVHREFXZ0JUOUhXRnUy | | | bEdDNEJvdWpjSXBtMXNua0liWgorakFOQmdrcWhraUc5dzBCQVFzRkFBT0NBUUVBSml0dEhjODRjVmJnanJSOEt1dUh0K01Qd2s5 | | | eTdWTG5MQ1BsCmM3ckV6eHg5RDEzS0QyeTN6NzlrRDNSOXNmMHVicWczUjI2cFdJNCtObkc4b0VsK2FmelovcTRHb0laRW0zWEIK | | | ZE1hRlJRcVk2U1JXWERUVHVjZEFxVmt4VG4rTVFSSUZrZXUycUxMU3RMeFk2V0dtMXEvTUFxQ3o0WkNFejBHOApXSXFnTlNpUzJY | | | SytjQkN4cUlDbnQ1ODFGYXRLaHZnRk5rTjhFTlJlQ2VVQUw1N2pOaGZQVS9MOVY2RTllMENYCldkTUFkSithYyt6UGJuUU1GcktJ | | | NkdoOEsxNHdIS2FTTDNjV29sQUxLcUVTc0JLU2hsV0J0MWMxcTROSzNCOWMKRWsyNURLYU53SUxHZkx6dU0wY2dsNVdZQ3lsTmFS | | | M2FpQmVtbGx4aUUrR1hxckd1c0E9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==", | | | "client-key-data": "LS0tLS1CRUdJTiBSU0EgUFJJVkFURSBLRVktLS0tLQpNSUlFcFFJQkFBS0NBUUVBdHlQNmIy | | | ait0dUg0K0lMK0ZLeGFucjFjWVBCS3R6dFAyMUk1WjZIR1hwTnViQktZCkdNTnZTRytWR3hERVhrdVJCTnhkWnYzVG14aloxYkM1 | | | cmU1OWdHbkdoTytXSmNBa2QzbnRPZTFqQUpjbDN2NDYKZHFKKzFWYnZQNVJLT2FDZzV3NWZIWXFLblhJellMbzRvQUQvbVZoeFl6 | | | ZWc5STNoVnlDYVBVKzN1ZENuTWl1bApmdE53RUhYMTBocW1vVHp4MmpJZ2pWcHp4aXdaWVFzT1VKZkVnTVd4MnZMOU9IRk1ML1hS | | | K29lSHNkUllaQWVJCjJGcXhUckJxTjlHbEtDeHlLVk9KSER0VE9PUjNsMkpGYURZUW55VGFVTDZPZ0ZQSUNVU1YrVlB3TlhvelJT | | | ejYKSnZObk1aamRMbjU2M1djczVwRnA2MERNOVQxQy94TmlRWlJEQlFJREFRQUJBb0lCQVFDTjlXVjZWbmlhYWk4Qwo4d2JnSDNs | | | ZThvbFkydW9QZmZvNGwxUEg4SzVEUVNTbXdRTUVydmpqdlJwbkVHZ21iNHpKcDhiK3ZtSDRKeHN6CmVQbDB5UmlmSVY2d1RNYW1I | | | SG9uNG1yd0xBSkJ3dWVvSW9oT3pVWmpPQy9icUthZ1pOSlVSOStTbG9FNzZmbkoKVUkvejl0SXBtMVRKQTZYUDZ1cHhEdVNBQWZy | | | NEhHU01CMllKSWN1MW9WQWN3azY2YVlFa2c0NElnSnVWTGo1Swp6Nnh2ZUNlU3libWkyUkZ0dXFpNVFMRGl0a2Zsdk9Wa3BGUVQ5 | | | a0FDeTRSZTJ6Q2pzTVFyVFljQzNzdnhqaDlHClJ2QjZYczdWSTE2ZFhTMytZKzE2aW5yT1kzT1BUU1BySG5RcFJwRWZXL2Q1VS9S | | | ZzZqR2M0ZUMxa1o3YzNtQk4KMk5zVWNRRkJBb0dCQU5BZmRSdEh4aHVjM1o1TmcvTXRwbDk2NGpRMDZnd3dZYVVNYTFlOXZKZjYy | | | RjFiMThMTwpZUUltRmxQYUlJaFFCTU10elNIa1ZHL0JYbEd3WjgyNFdvUnd6MXBCU2lvNkJhTW9pT2hrcmRvK1FicW5vZlZCCkZ0 | | | dE9OcU1TK0hyVlNNdTY1QWJnbllscDZ0RDZsQ0lkaU1saWJ2ak5FUTJrdWQyanJyZGhvMUh2QW9HQkFPRkYKU2RjaUlTUDBuakxy | | | OGF5ZFVCK2xXeDR4MHY2VFp5NTFuSnpiWm1Ma3FTS2FsbWkrQk9OTDNJbjJSd1BCa3pjdwppUGp1cHB2a2dSRWpyU3VLR1NwMGRN | | | VmpxVDZGb2dmYVRDVjBBN0RxZ3VuTHpjUVZka1grNTU5bk5uQ0dLb2poCkhJYmVncm1NRytsc3M3RHZJQUk5cFhwRnJ2V0JZNCsw | | | N1VwTE10NUxBb0dCQUpPekgzckN6eGRkbGZINGRRSXAKalg4SlNHdGdlaEU0YkxPalFySzhGcEdORmV2N2QvM3FWUElmY1kwRXFq | | | M1MrKzVBSE9wR2pwM1pEMFROK24wRwpya1o3Z013K3RaR09KOTRJc0ZDczBxeWxyaVAzUDNzOFBDcGJNVzg5MFZYcTg0U1NGNjNC | | | emt0cy9aWmRucTh2CllwbjQzMlIycy9tSXc5ZEZpSUxnS2ZYRkFvR0FBYVNkdTBIMmQrcXExTGcvMVFCNHV5SmJuY2JEUVRRV0Jw | | | SzUKQjdQWjlWS3hvUno3aDl3SzhSVjJrRk1KaFk5OTRXTXJQSldSQllZUEl1N2Rybm1kWVYva0VpUjk4WVRMLzc2cAoyNFFUR3RF | | | N0R6VjdWTGpMV2d0WDZTTzVrK3lHbHVUOWJrWmxNYkZCNnR2dUc1WkM1NEZIbWJLMGFmbjluZWkxCjZsck9EaTBDZ1lFQXhXdEhi | | | S0kzSURvbkw2ejZzajJPOUo2RXpwaDVaM3B6OXd0L1VYU1hQV3kwUzcxZ3BKWFUKVlp6cEtURzZVZ3RtMWhIUUtlVXN0WVBzdU9E | | | Rmx0YXl0eFBrYTY2ZG5yby8wTHFwOFBSRlNOMkhTdEk2YUROcAo2T3ltQzlDYUhSU3JNYjF0cnNvUmlOSjlPTUd4YW8zTmlmSk1C | | | K0tjcWh4VUJ0c0FiWmVqWUQwPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo=" | | | } | | | } | | | ] | | | } | | k8s_version | "v1" | | vim_account | "fd3ed49f-821a-43c8-be92-577b7c5b0858" | | nets | { | | | "net1": "osm-ext" | | | } | | description | "Robot cluster" | | namespace | "kube-system" | | _admin | { | | | "created": 1713232591.4340272, | | | "modified": 1713232596.3651628, | | | "projects_read": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "projects_write": [ | | | "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" | | | ], | | | "operationalState": "ENABLED", | | | "operations": [ | | | { | | | "lcmOperationType": "create", | | | "operationState": "COMPLETED", | | | "startTime": 1713232591.4340563, | | | "statusEnteredTime": 1713232591.4340563, | | | "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": "ca0ba47e-d431-4ea3-b966-c6a7bb787567", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart": { | | | "created": false, | | | "error_msg": null, | | | "id": "ca0ba47e-d431-4ea3-b966-c6a7bb787567", | | | "operationalState": "ENABLED" | | | }, | | | "helm-chart-v3": { | | | "created": false, | | | "error_msg": null, | | | "id": "ca0ba47e-d431-4ea3-b966-c6a7bb787567", | | | "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 | ca0ba47e-d431-4ea3-b966-c6a7bb787567 | 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 | ca0ba47e-d431-4ea3-b966-c6a7bb787567 | 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} = f6f96835-4b06-458f-a8e0-996ba481c58f ${stdout} Logs the given message with the given level. f6f96835-4b06-458f-a8e0-996ba481c58f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = f6f96835-4b06-458f-a8e0-996ba481c58f ${ns_id} Logs the given message with the given level. f6f96835-4b06-458f-a8e0-996ba481c58f ${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 | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 615eb09f-f98a-4b2a-903b-df37f42112e3 | epa_04-vnf2-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.22; osm-ext=172.21.249.160 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 3e5d101c-8aab-4b96-b020-2af2bf2f0516 | epa_04-vnf1-dataVM-0 | ACTIVE | epa_04-datanet=192.168.100.11; osm-ext=172.21.248.120 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+-------------------------------------------------------+-------------+------------------------+ ${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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57:08 | BUILDING | INSTANTIATING (54776769-9b61-4202-a6d5-b730c30626c2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57:08 | BUILDING | INSTANTIATING (54776769-9b61-4202-a6d5-b730c30626c2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57:08 | BUILDING | INSTANTIATING (54776769-9b61-4202-a6d5-b730c30626c2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57:08 | BUILDING | INSTANTIATING (54776769-9b61-4202-a6d5-b730c30626c2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+------------------------+-------------+------------------------+ ${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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57:08 | BUILDING | INSTANTIATING (54776769-9b61-4202-a6d5-b730c30626c2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57:08 | BUILDING | INSTANTIATING (54776769-9b61-4202-a6d5-b730c30626c2) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | 8f1900a4-830c-4f42-8640-15e1aa09d522 | fail_01_5715-vnf-mgmtVM-0 | ACTIVE | fail_01_5715-internal=192.168.149.236; osm-ext=172.21.248.143 | ubuntu20.04 | simple_requires-1-1-flv | | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ ${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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57: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} = +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID ... ${stdout} Logs the given message with the given level. +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ | 8f1900a4-830c-4f42-8640-15e1aa09d522 | fail_01_5715-vnf-mgmtVM-0 | ACTIVE | fail_01_5715-internal=192.168.149.236; osm-ext=172.21.248.143 | ubuntu20.04 | simple_requires-1-1-flv | | c044294d-a4d4-4376-bd9a-6fc6a188c229 | basic_27_helm_ee-simple-mgmtVM-0 | ACTIVE | osm-ext=172.21.248.111 | ubuntu18.04 | mgmtVM-simple-1-flv-62 | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------+--------+---------------------------------------------------------------+-------------+-------------------------+ ${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 | f6f96835-4b06-458f-a8e0-996ba481c58f | 2024-04-16T01:57: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} = f6f96835-4b06-458f-a8e0-996ba481c58f 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} = f6f96835-4b06-458f-a8e0-996ba481c58f ${stdout} Logs the given message with the given level. f6f96835-4b06-458f-a8e0-996ba481c58f ${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} = f6f96835-4b06-458f-a8e0-996ba481c58f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = f6f96835-4b06-458f-a8e0-996ba481c58f 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 --ns ${ns_id} | 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 --ns f6f96835-4b06-458f-a8e0-996ba481c58f | grep f6f96835-4b06-458f-a8e0-996ba481c58f | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = a2dc2efa-191a-404c-b057-4686ea72b6ef ${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} = [ a2dc2efa-191a-404c-b057-4686ea72b6ef ] @{vnfr_list} = [ a2dc2efa-191a-404c-b057-4686ea72b6ef ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: a2dc2efa-191a-404c-b057-4686ea72b6ef ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = a2dc2efa-191a-404c-b057-4686ea72b6ef 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} = fad96a58-6fbd-4f25-a33f-63e205bfa048 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fad96a58-6fbd-4f25-a33f-63e205bfa048 --literal | yq -r .operationState 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 fad96a58-6fbd-4f25-a33f-63e205bfa048 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fad96a58-6fbd-4f25-a33f-63e205bfa048 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show fad96a58-6fbd-4f25-a33f-63e205bfa048 --literal | yq -r .operationState 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} = fad96a58-6fbd-4f25-a33f-63e205bfa048 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} = 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef --literal | yq -r .operationState 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 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef --literal | yq -r .operationState 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 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef --literal | yq -r .operationState 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 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef --literal | yq -r .operationState 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} = 3a2ac2e4-494b-49c4-b87a-5be0c0abbfef 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 -r .config.replicaCount Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a2dc2efa-191a-404c-b057-4686ea72b6ef --kdu ldap | yq -r .config.replicaCount 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} = 6ab7eac7-d22b-42c8-9bb8-2bf73cedec07 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6ab7eac7-d22b-42c8-9bb8-2bf73cedec07 --literal | yq -r .operationState 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 6ab7eac7-d22b-42c8-9bb8-2bf73cedec07 ${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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6ab7eac7-d22b-42c8-9bb8-2bf73cedec07 --literal | yq -r .operationState 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 -r .operationState Runs the given command in the system and returns the RC and output. Running command 'osm ns-op-show 6ab7eac7-d22b-42c8-9bb8-2bf73cedec07 --literal | yq -r .operationState 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} = 6ab7eac7-d22b-42c8-9bb8-2bf73cedec07 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 -r .config.replicaCount Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show a2dc2efa-191a-404c-b057-4686ea72b6ef --kdu ldap | yq -r .config.replicaCount 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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | c251978f-f2d7-4451-9e97-11abe6d577fc | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | c5a1f85e-cbff-49c1-95bb-0c4ad126f4e6 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.25 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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 | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ | c251978f-f2d7-4451-9e97-11abe6d577fc | basic_28-vnf-persistent-v-keep-persistent-vol-VM-0 | ACTIVE | osm-ext=172.21.249.62 | ubuntu20.04 | keep-persistent-vol-VM-vnf-persistent-volumes-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+----------------------------------------------------+--------+------------------------+-------------+-----------------------------------------------------+ ${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} = edd21f30-470e-4f32-bfd1-ed39065921b2 ${stdout} Logs the given message with the given level. edd21f30-470e-4f32-bfd1-ed39065921b2 ${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} = 13d1ded3-95d6-4477-bc37-5a18902e4276 ${stdout} Logs the given message with the given level. 13d1ded3-95d6-4477-bc37-5a18902e4276 ${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} = 9b56fc16-0daa-4e6d-abba-96acb4a0b237 ${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'> ${user_name} ${user_password} ${user_new_password} ${user_name} Verifies that the given item is not empty. Length is 14 ${user_password} Verifies that the given item is not empty. Length is 14 ${user_new_password} Verifies that the given item is not empty. Length is 18 ${rc} ${stdout} osm user-update ${user_name} --current-password ${user_password} --new-password ${user_new_password} Runs the given command in the system and returns the RC and output. Running command 'osm user-update quotas_01_user --current-password Quotas_01_pass --new-password Quotas_01_new_pass 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'> 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} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 b7ba1389-dd87-42a5-b3db-077ea1b6e865 ${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} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_password} override='id=v2;product-name=v2' Runs the keyword and checks that the expected error occurred. ${project_3_name} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 (edd21f30-470e-4f32-bfd1-ed39065921b2)" } ${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} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 bc3915d8-2862-4ea2-a540-94201d40964c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 2ee6fbf0-083a-47ea-860e-a500e8059493 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 5d55b0bf-8f87-4baf-9f9c-a6b4a12f7d9c ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${project_3_name} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 74051a2b-99cb-4d93-8020-c4018003db83 ${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} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_password} override='id=v6;product-name=v6' Runs the keyword and checks that the expected error occurred. ${project_3_name} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 (edd21f30-470e-4f32-bfd1-ed39065921b2)" } ${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} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 4f4a5947-10d8-4a72-a3ef-48a584e25775 ${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} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_password} override='id=vp2_2;product-name=vp2_2' Runs the keyword and checks that the expected error occurred. ${project_2_name} '%{PACKAGES_FOLDER}/${vnfd_pkg}' ${user_name} ${user_new_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 48 ${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 18 ${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_new_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_new_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_new_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 (13d1ded3-95d6-4477-bc37-5a18902e4276)" } ${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_new_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_new_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_new_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_new_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_new_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 18 ${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_new_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_new_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 18 ${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_new_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_new_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 18 ${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_new_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_new_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 18 ${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_new_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_new_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 18 ${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_new_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_new_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 18 ${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_new_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' (13d1ded3-95d6-4477-bc37-5a18902e4276) 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' (13d1ded3-95d6-4477-bc37-5a18902e4276) 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_new_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_new_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_new_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_new_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_new_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_new_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. Suite Preparation Runs the given keyword with the given arguments and ignores possible error. Test Suite Preparation: Setting Prometheus Testsuite Variables Set Testsuite Prometheus Variables to be used in subsequent test cases ${local_prometheus_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${prometheus_host} ${local_prometheus_host} Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} 9091 Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} Logs the given message with the given level. 9091 ${prometheus_host} Logs the given message with the given level. 172.21.249.13 ${prometheus_user} Logs the given message with the given level. "" ${prometheus_password} Logs the given message with the given 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 8747f8d1-0d78-4e12-8e09-b12d06f8dc62 ${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} = 8747f8d1-0d78-4e12-8e09-b12d06f8dc62 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 cec67142-b7ac-4694-ad1c-f11583b4112b ${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} = cec67142-b7ac-4694-ad1c-f11583b4112b 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} = 2848dad1-d0b4-442a-9745-ad803217e994 ${stdout} Logs the given message with the given level. 2848dad1-d0b4-442a-9745-ad803217e994 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 2848dad1-d0b4-442a-9745-ad803217e994 ${ns_id} Logs the given message with the given level. 2848dad1-d0b4-442a-9745-ad803217e994 ${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 | +--------------------------------------+---------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.60; hfcloudinit-internal=192.168.47.100 | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.115; osm-ext=172.21.248.224 | ubuntu20.04 | simple_requires-1-1-flv | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.140; hfcloudinit-internal=192.168.173.82 | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.173.129; osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 2848dad1-d0b4-442a-9745-ad803217e994 | 2024-04-16T02:02:37 | BUILDING | INSTANTIATING (acbbd9be-5e79-4d90-b9f9-0aff1685d1df) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 2848dad1-d0b4-442a-9745-ad803217e994 | 2024-04-16T02:02:37 | BUILDING | INSTANTIATING (acbbd9be-5e79-4d90-b9f9-0aff1685d1df) | N/A | +---------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.60; hfcloudinit-internal=192.168.47.100 | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.115; osm-ext=172.21.248.224 | ubuntu20.04 | simple_requires-1-1-flv | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.140; hfcloudinit-internal=192.168.173.82 | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.173.129; osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 2848dad1-d0b4-442a-9745-ad803217e994 | 2024-04-16T02:02: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 | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 1268a915-71b7-42cc-8caa-961f1c64c642 | hfcloudinit-vnf2-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.60; hfcloudinit-internal=192.168.47.100 | ubuntu20.04 | simple_requires-1-1-flv | | aa714505-a590-4a68-bb0f-758552f51db1 | hfcloudinit-vnf2-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.47.115; osm-ext=172.21.248.224 | ubuntu20.04 | simple_requires-1-1-flv | | c3a6f3a3-5657-4dcb-9a50-8d966819bff5 | hfcloudinit-vnf1-dataVM-0 | ACTIVE | hfcloudinit-datanet=192.168.32.140; hfcloudinit-internal=192.168.173.82 | ubuntu20.04 | simple_requires-1-1-flv | | 521da0d6-70a0-4035-aa62-8f9522cd2681 | hfcloudinit-vnf1-mgmtVM-0 | ACTIVE | hfcloudinit-internal=192.168.173.129; osm-ext=172.21.249.201 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 2848dad1-d0b4-442a-9745-ad803217e994 | 2024-04-16T02:02: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} = 2848dad1-d0b4-442a-9745-ad803217e994 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 2848dad1-d0b4-442a-9745-ad803217e994 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${metric_1_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} ${metric_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_1_name} ${metric_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} ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${param_name} = ns_id ${param_value} = 2848dad1-d0b4-442a-9745-ad803217e994 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="2848dad1-d0b4-442a-9745-ad803217e994", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d560b0>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:03:17 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} ${metric_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} ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${param_name} = ns_id ${param_value} = 2848dad1-d0b4-442a-9745-ad803217e994 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="2848dad1-d0b4-442a-9745-ad803217e994", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d65510>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:04:17 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} ${metric_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} ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${param_name} = ns_id ${param_value} = 2848dad1-d0b4-442a-9745-ad803217e994 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="2848dad1-d0b4-442a-9745-ad803217e994", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d77700>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:05:17 GMT', 'Content-Length': '365'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"2848dad1-d0b4-442a-9745-ad803217e994","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"8b276b91-5242-4e45-9693-65b3258ecbb4","vnf_member_index":"vnf"},"value":[1713233117.104,"16.083333333333332"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '2848dad1-d0b4-442a-9745-ad803217e994', 'pro... ${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} = 16.083333333333332 ${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_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_2_name} ${metric_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} ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=2848dad1-d0b4-442a-9745-ad803217e994 ${param_name} = ns_id ${param_value} = 2848dad1-d0b4-442a-9745-ad803217e994 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="2848dad1-d0b4-442a-9745-ad803217e994", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d76d40>, 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.13:9091/api/v1/query?query=osm_average_memory_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D path_url=/api/v1/query?query=osm_average_memory_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_average_memory_utilization%7Bns_id=%222848dad1-d0b4-442a-9745-ad803217e994%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:05:17 GMT', 'Content-Length': '371'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_average_memory_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_memory_util","ns_id":"2848dad1-d0b4-442a-9745-ad803217e994","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"8b276b91-5242-4e45-9693-65b3258ecbb4","vnf_member_index":"vnf"},"value":[1713233117.139,"277.71875"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metri... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_average_memory_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_memory_util', 'ns_id': '2848dad1-d0b4-442a-9745-ad803... ${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} = 277.71875 ${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} = +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.229; hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.150; osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.87; hfmultivdu-internal=192.168.72.182 | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.72.186; osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 8b276b91-5242-4e45-9693-65b3258ecbb4 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.219 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+------------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------+-... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.229; hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.150; osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.87; hfmultivdu-internal=192.168.72.182 | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.72.186; osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+--------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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. Suite Preparation Runs the given keyword with the given arguments and ignores possible error. Test Suite Preparation: Setting Prometheus Testsuite Variables Set Testsuite Prometheus Variables to be used in subsequent test cases ${local_prometheus_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${prometheus_host} ${local_prometheus_host} Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} 9091 Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} Logs the given message with the given level. 9091 ${prometheus_host} Logs the given message with the given level. 172.21.249.13 ${prometheus_user} Logs the given message with the given level. "" ${prometheus_password} Logs the given message with the given 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 e6c3b3c1-c396-47f0-8adb-aa3743b646d0 ${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} = e6c3b3c1-c396-47f0-8adb-aa3743b646d0 cluster_sa daily regression sa_02 sanity ${rc} ${stdout} osm vnfpkg-show ${vnfd_name} --literal | yq -r '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."scaling-criteria"[0]."scale-out-threshold"' Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-show hackfest_basic_metrics-vnf --literal | yq -r '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."scaling-criteria"[0]."scale-out-threshold"' 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 ${rc} ${stdout} osm vnfpkg-show ${vnfd_name} --literal | yq -r '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."threshold-time"' Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-show hackfest_basic_metrics-vnf --literal | yq -r '.df[0]."scaling-aspect"[0]."scaling-policy"[0]."threshold-time"' 2>&1'. ${rc} = 0 ${stdout} = 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'> ${threshold_time_value} ${stdout} Converts the given item to a floating point number. ${threshold_time_value} = 1.0 ${threshold_time} ${threshold_time_value} Makes a variable available everywhere within the scope of the current suite. ${threshold_time} = 1.0 ${threshold_time} Logs the given message with the given level. 1.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 4e1f877d-f45b-461c-9a34-f80e11eb17b0 ${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} = 4e1f877d-f45b-461c-9a34-f80e11eb17b0 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} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${stdout} Logs the given message with the given level. 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${ns_id} Logs the given message with the given level. 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${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 | +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.229; hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.150; osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | d4295180-c2e6-4ef3-a92b-a4e07b09be12 | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.155.87; hfmultivdu-internal=192.168.72.182 | ubuntu20.04 | simple_requires-1-1-flv | | 31d37074-31a4-47b8-ab61-1ab4cbb3f441 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.72.186; osm-ext=172.21.248.237 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 | 2024-04-16T02:05:54 | BUILDING | INSTANTIATING (94ab9e6e-cbe8-4c89-aad0-4b6195e6fc7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 | 2024-04-16T02:05:54 | BUILDING | INSTANTIATING (94ab9e6e-cbe8-4c89-aad0-4b6195e6fc7a) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.52.178 | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 | 2024-04-16T02:05: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 | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | e8f58f87-25ce-484d-a929-dddddec66d4a | basic_30-vnf2-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::38b; basic_30-datanet2=192.168.20.87; basic_30-datanet3=192.168.30.89; osm-ext=172.21.248.115 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | 2829ee5f-7ccb-4899-aaeb-c425fbb30120 | basic_30-vnf1-dataVM-0 | ACTIVE | basic_30-datanet1=2001:db8::a5; basic_30-datanet2=192.168.20.28; basic_30-datanet3=192.168.30.91; osm-ext=172.21.249.223 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | 04c0373c-6f81-4a53-83f8-d0df12498f10 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | | ubuntu20.04 | simple_requires-1-1-flv | | 28ff1b60-4856-41fe-ad85-1543c7f6f24c | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.30 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+---------------------------------------+--------+---------------------------------------------------------------------------------------------------------------------------+-------------+-------------------------+ ${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 | 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 | 2024-04-16T02:05: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} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 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 --ns ${ns_id} | 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 --ns 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 | grep 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 | awk '{print $2}' 2>&1'. ${rc} = 0 ${stdout} = fa78446b-b43a-4f56-9a22-f4ea7a91519c ${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} = [ fa78446b-b43a-4f56-9a22-f4ea7a91519c ] @{vnfr_list} = [ fa78446b-b43a-4f56-9a22-f4ea7a91519c ] ${vnfr_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: fa78446b-b43a-4f56-9a22-f4ea7a91519c ${vnf_id} ${vnfr_list}[0] Makes a variable available everywhere within the scope of the current suite. ${vnf_id} = fa78446b-b43a-4f56-9a22-f4ea7a91519c 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 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.248.118 ${stdout} Logs the given message with the given level. 172.21.248.118 ${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.118 ${ip_addr} Logs the given message with the given level. 172.21.248.118 ${vnf_ip_addr} ${ip_addr} Makes a variable available everywhere within the scope of the current suite. ${vnf_ip_addr} = 172.21.248.118 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d25810>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:06:36 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} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d65330>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:07:36 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} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840ea0160>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:08:36 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} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d76a40>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:09:36 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} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d76b00>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:10:36 GMT', 'Content-Length': '356'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233436.531,"5.766666666666666"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 5.766666666666666 ${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.248.118: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 Tue Apr 16 02:10:36 UTC 2024 System load: 0.03 Processes: 105 Usage of /: 14.0% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.248.118 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840da9630>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:10:38 GMT', 'Content-Length': '355'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233438.983,"5.766666666666666"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 5.766666666666666 ${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 '5.766666666666666' 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840daa950>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:11:39 GMT', 'Content-Length': '356'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233499.027,"5.766666666666666"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 5.766666666666666 ${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 '5.766666666666666' 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840daa470>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:12:39 GMT', 'Content-Length': '356'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233559.067,"5.766666666666666"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 5.766666666666666 ${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 '5.766666666666666' 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840da9c90>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:13:39 GMT', 'Content-Length': '356'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233619.108,"5.766666666666666"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 5.766666666666666 ${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 '5.766666666666666' 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840de9b40>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:14:39 GMT', 'Content-Length': '355'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233679.148,"5.766666666666666"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 5.766666666666666 ${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 '5.766666666666666' 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d77550>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:15:39 GMT', 'Content-Length': '355'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233739.18,"99.63333333333333"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 99.63333333333333 ${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 ${threshold_time_sleep} ${threshold_time} + 1 Evaluates the given expression in Python and returns the result. ${threshold_time_sleep} = 2.0 ${threshold_time_sleep} minutes Wait scale-out threshold time plus 1 minute Pauses the test executed for the given time. Slept 2 minutes Wait scale-out threshold time plus 1 minute cluster_sa daily regression sa_02 sanity 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${metric_value} ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${param_name} = ns_id ${param_value} = 695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7 ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840dabd30>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:17:39 GMT', 'Content-Length': '356'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"vnf_cpu_util","ns_id":"695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"hackfest_basic_metrics-VM","vdu_name":"sa_02-vnf-hackfest_basic_metrics-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"ce1b10d3-4c63-4817-b220-9ac6241d4c78","vnf_member_index":"vnf"},"value":[1713233859.215,"99.63333333333333"]}]}} ${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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'vnf_cpu_util', 'ns_id': '695ebfe5-1d25-4d8f-81c1-e8ffd8457bd7', 'pro... ${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} = 99.63333333333333 ${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 -r .vdur[].name Runs the given command in the system and returns the RC and output. Running command 'osm vnf-show fa78446b-b43a-4f56-9a22-f4ea7a91519c --literal | yq -r .vdur[].name 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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | 7c6a304e-b841-4971-a7ae-a881bbf8ae3e | epa_04-vnf2-dataVM-0 | ACTIVE | osm-ext=172.21.249.87 | ubuntu20.04 | dataVM-vnf2-1-flv-1 | | f8d24846-1ea2-4f4d-a87e-b0ba18ecee93 | epa_04-vnf1-dataVM-0 | ACTIVE | osm-ext=172.21.248.106 | ubuntu20.04 | dataVM-vnf1-1-flv-1 | | bb7a525a-6aec-4c6c-b739-3d72f1016ddf | sa_02-vnf-hackfest_basic_metrics-VM-1 | ACTIVE | osm-ext=172.21.249.93 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | ce1b10d3-4c63-4817-b220-9ac6241d4c78 | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.248.118 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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. Suite Preparation Runs the given keyword with the given arguments and ignores possible error. Test Suite Preparation: Setting Prometheus Testsuite Variables Set Testsuite Prometheus Variables to be used in subsequent test cases ${local_prometheus_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${prometheus_host} ${local_prometheus_host} Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} 9091 Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} Logs the given message with the given level. 9091 ${prometheus_host} Logs the given message with the given level. 172.21.249.13 ${prometheus_user} Logs the given message with the given level. "" ${prometheus_password} Logs the given message with the given level. "" '%{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 c741fa70-78c7-4293-a948-450598733a5f ${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} = c741fa70-78c7-4293-a948-450598733a5f 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 ddd60689-106c-4441-bfa0-0a6872b2c031 ${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} = ddd60689-106c-4441-bfa0-0a6872b2c031 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} = 30902afd-6c18-4d85-88f6-5271314a7488 ${stdout} Logs the given message with the given level. 30902afd-6c18-4d85-88f6-5271314a7488 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = 30902afd-6c18-4d85-88f6-5271314a7488 ${ns_id} Logs the given message with the given level. 30902afd-6c18-4d85-88f6-5271314a7488 ${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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | 30902afd-6c18-4d85-88f6-5271314a7488 | 2024-04-16T02:20:14 | BUILDING | INSTANTIATING (77cf7ce5-4fab-40fd-b517-1e26c92552b9) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | 30902afd-6c18-4d85-88f6-5271314a7488 | 2024-04-16T02:20:14 | BUILDING | INSTANTIATING (77cf7ce5-4fab-40fd-b517-1e26c92552b9) | N/A | +----------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 1c633c36-6ada-4e12-afde-3115cdb91f9d | fail_01_2613-vnf-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | 30902afd-6c18-4d85-88f6-5271314a7488 | 2024-04-16T02:20: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 | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ | 1c633c36-6ada-4e12-afde-3115cdb91f9d | fail_01_2613-vnf-mgmtVM-0 | ACTIVE | fail_01_2613-internal=192.168.12.64; osm-ext=172.21.248.208 | ubuntu20.04 | simple_requires-1-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+-------------------------------------------------------------+-------------+-------------------------+ ${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 | 30902afd-6c18-4d85-88f6-5271314a7488 | 2024-04-16T02:20: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} = 30902afd-6c18-4d85-88f6-5271314a7488 ${ws_ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ws_ns_id} = 30902afd-6c18-4d85-88f6-5271314a7488 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 30902afd-6c18-4d85-88f6-5271314a7488 | 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_addr} = 172.21.249.116 ${ip_addr} Logs the given message with the given level. 172.21.249.116 ${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.116 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.0 200 OK\r\nContent-Length: 0\r\n\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.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 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 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.0 200 OK Content-Length: 0 '; 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.116: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 1727e125-b650-417a-9b28-2527b596eb93 ${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} = 1727e125-b650-417a-9b28-2527b596eb93 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 0082ddfe-20f7-4225-bc00-a1ce01ce083f ${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} = 0082ddfe-20f7-4225-bc00-a1ce01ce083f 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} = c54072d6-47e6-4c3a-b386-4a28e15f87db ${stdout} Logs the given message with the given level. c54072d6-47e6-4c3a-b386-4a28e15f87db ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = c54072d6-47e6-4c3a-b386-4a28e15f87db ${ns_id} Logs the given message with the given level. c54072d6-47e6-4c3a-b386-4a28e15f87db ${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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+-------------+-------------------------+ ${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 | c54072d6-47e6-4c3a-b386-4a28e15f87db | 2024-04-16T02:21:41 | BUILDING | INSTANTIATING (aecc1e8b-89e6-461c-96bf-5cc1246d7515) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | c54072d6-47e6-4c3a-b386-4a28e15f87db | 2024-04-16T02:21:41 | BUILDING | INSTANTIATING (aecc1e8b-89e6-461c-96bf-5cc1246d7515) | N/A | +------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 2b6918bb-e351-48c7-a986-3f095cd31de9 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.127 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | edc71583-270d-4c8b-8590-6b27387f5d77 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${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 | c54072d6-47e6-4c3a-b386-4a28e15f87db | 2024-04-16T02:21: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} = +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+------------------------------+-----------... ${stdout} Logs the given message with the given level. +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ | 2b6918bb-e351-48c7-a986-3f095cd31de9 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.127 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | edc71583-270d-4c8b-8590-6b27387f5d77 | hfbasic-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.248.241 | ubuntu20.04 | simple_requires-1-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 1d710d2f-4271-485e-b757-cc5380bf3502 | sa_01-vnf_with_v-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.129 | ubuntu20.04 | simple_requires-1-1-flv | | b0d47c74-bc9b-4570-ad7f-33d06e9ae3ec | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+--------------------------------------------------+--------+---------------------------------------------------------+------------------------------+--------------------------+ ${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 | c54072d6-47e6-4c3a-b386-4a28e15f87db | 2024-04-16T02:21: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} = c54072d6-47e6-4c3a-b386-4a28e15f87db ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = c54072d6-47e6-4c3a-b386-4a28e15f87db 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_filter} ns_id=${ns_id} Returns the given values which can then be assigned to a variables. ${metric_filter} = ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${metric_value} ${prometheus_poll_retries} ${prometheus_poll_timeout} Get Metric ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_filter} Runs the specified keyword and retries if it fails. ${prometheus_host} ${prometheus_port} ${prometheus_user} ${prometheus_password} ${metric_name} ${metric_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} ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${param_name} = ns_id ${param_value} = c54072d6-47e6-4c3a-b386-4a28e15f87db ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="c54072d6-47e6-4c3a-b386-4a28e15f87db", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840e85450>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:22:20 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} ${metric_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} ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${param_name} = ns_id ${param_value} = c54072d6-47e6-4c3a-b386-4a28e15f87db ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="c54072d6-47e6-4c3a-b386-4a28e15f87db", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840deb7c0>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:23:20 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} ${metric_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} ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${param_name} = ns_id ${param_value} = c54072d6-47e6-4c3a-b386-4a28e15f87db ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="c54072d6-47e6-4c3a-b386-4a28e15f87db", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840deb820>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:24:20 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} ${metric_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} ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${match} ${param_name} ${param_value} ${param} (.+)=(.+) msg=Syntax error in filter parameters Fails if ``string`` does not match ``pattern`` as a regular expression. ${match} = ns_id=c54072d6-47e6-4c3a-b386-4a28e15f87db ${param_name} = ns_id ${param_value} = c54072d6-47e6-4c3a-b386-4a28e15f87db ${filter} SEPARATOR= ${filter} ${param_name}="${param_value}", Catenates the given items together and returns the resulted string. ${filter} = ns_id="c54072d6-47e6-4c3a-b386-4a28e15f87db", ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840c120e0>, 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.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D path_url=/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=osm_cpu_utilization%7Bns_id=%22c54072d6-47e6-4c3a-b386-4a28e15f87db%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:25:20 GMT', 'Content-Length': '360'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"osm_cpu_utilization","job":"airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858","metric_id":"cirros_vnf_cpu_util","ns_id":"c54072d6-47e6-4c3a-b386-4a28e15f87db","project_id":"9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c","vdu_id":"cirros_vnfd-VM","vdu_name":"sa_07-alarm_test-vnf-cirros_vnfd-VM-0","vim_id":"fd3ed49f-821a-43c8-be92-577b7c5b0858","vm_id":"2b6918bb-e351-48c7-a986-3f095cd31de9","vnf_member_index":"vnf"},"value":[1713234320.473,"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', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'cir... ${result_list} ${resp["data"]["result"]} Converts the given ``item`` to a Python ``list`` type. ${result_list} = [{'metric': {'__name__': 'osm_cpu_utilization', 'job': 'airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858', 'metric_id': 'cirros_vnf_cpu_util', 'ns_id': 'c54072d6-47e6-4c3a-b386-4a28e15f87db... ${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.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 Tue Apr 16 02:25:20 UTC 2024 System load: 0.02 Processes: 107 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.116 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: Tue Apr 16 02:21:35 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 1. ${stdout} = ${rc} = 1 ${rc} Logs the given message with the given level. 1 ${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'> 1 != 0 ${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.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 Tue Apr 16 02:26:02 UTC 2024 System load: 0.01 Processes: 104 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.116 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: Tue Apr 16 02:25: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@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 1. ${stdout} = ${rc} = 1 ${rc} Logs the given message with the given level. 1 ${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'> 1 != 0 ${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.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 Tue Apr 16 02:26:44 UTC 2024 System load: 0.0 Processes: 102 Usage of /: 14.2% of 9.52GB Users logged in: 0 Memory usage: 21% IPv4 address for ens3: 172.21.249.116 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: Tue Apr 16 02:26: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@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} = {"schema_type": "notify_alarm", "schema_version": "1.1", "notify_details": {"alarm_uuid": "18c02825-f7ac-43ee-86f9-0f28ad98b295", "status": "alarm", "metric_name": "osm_cpu_utilization", "start_date":... ${rc} = 0 ${rc} Logs the given message with the given level. 0 ${stdout} Logs the given message with the given level. {"schema_type": "notify_alarm", "schema_version": "1.1", "notify_details": {"alarm_uuid": "18c02825-f7ac-43ee-86f9-0f28ad98b295", "status": "alarm", "metric_name": "osm_cpu_utilization", "start_date": "2024-04-16T02:26:20.801Z", "tags": {"alertname": "vdu_alarm_18c02825-f7ac-43ee-86f9-0f28ad98b295", "job": "airflow_osm_vm_metrics_fd3ed49f-821a-43c8-be92-577b7c5b0858", "metric_id": "cirros_vnf_cpu_util", "ns_id": "c54072d6-47e6-4c3a-b386-4a28e15f87db", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "vdu_id": "cirros_vnfd-VM", "vdu_name": "sa_07-alarm_test-vnf-cirros_vnfd-VM-0", "vim_id": "fd3ed49f-821a-43c8-be92-577b7c5b0858", "vm_id": "2b6918bb-e351-48c7-a986-3f095cd31de9", "vnf_member_index": "vnf"}}} 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 | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------+------------------------------+--------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | BUILD | | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 2b6918bb-e351-48c7-a986-3f095cd31de9 | sa_07-alarm_test-vnf-cirros_vnfd-VM-0 | ACTIVE | osm-ext=172.21.248.127 | cirros-0.3.5-x86_64-disk.img | cirros_vnfd-VM-vnf-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+----------------------------------------------------------------------+------------------------------+--------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 4c587cea-8123-465d-ac73-f7aa5bc3eb3b | sa_07-webhook_se-vnf-hackfest_basic-VM-0 | ACTIVE | osm-ext=172.21.249.116 | ubuntu20.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${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} = +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-----------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${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. Suite Preparation Runs the given keyword with the given arguments and ignores possible error. Test Suite Preparation: Setting Prometheus Testsuite Variables Set Testsuite Prometheus Variables to be used in subsequent test cases ${local_prometheus_host} OSM_HOSTNAME Returns the value of an environment variable with the given name. ${prometheus_host} ${local_prometheus_host} Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} 9091 Makes a variable available everywhere within the scope of the current suite. ${prometheus_port} Logs the given message with the given level. 9091 ${prometheus_host} Logs the given message with the given level. 172.21.249.13 ${prometheus_user} Logs the given message with the given level. "" ${prometheus_password} Logs the given message with the given 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/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 7b1421c4-1afe-49a5-8faf-edde64acce38 ${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} = 7b1421c4-1afe-49a5-8faf-edde64acce38 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 7... ${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 7ed4880e-29fb-4e02-ae1e-717a5b88c031 ${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} = 7ed4880e-29fb-4e02-ae1e-717a5b88c031 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} = e9aac902-262e-4f99-8b2b-286a3ddf351f ${stdout} Logs the given message with the given level. e9aac902-262e-4f99-8b2b-286a3ddf351f ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${ns_id} = e9aac902-262e-4f99-8b2b-286a3ddf351f ${ns_id} Logs the given message with the given level. e9aac902-262e-4f99-8b2b-286a3ddf351f ${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 | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.21; hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-datanet=192.168.80.69; hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+-----------------------------------------------------------------------+-------------+-------------------------+ ${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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27:48 | BUILDING | INSTANTIATING (9cbf0ca6-a8cb-488d-b998-017bc517e0cf) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27:48 | BUILDING | INSTANTIATING (9cbf0ca6-a8cb-488d-b998-017bc517e0cf) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 61fc950d-9064-4391-9fcd-4e20d99fd3e5 | hfmultivdu-vnf2-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.203 | ubuntu20.04 | simple_requires-1-1-flv | | e0d87c92-9afc-4f3e-b386-ae318db367e7 | hfmultivdu-vnf2-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.234.193; osm-ext=172.21.249.145 | ubuntu20.04 | simple_requires-1-1-flv | | 292c3bac-a062-4735-9c45-f57cb3a89a8e | hfmultivdu-vnf1-dataVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.47 | ubuntu20.04 | simple_requires-1-1-flv | | 225c80f4-6085-45ac-983a-21e2f9afd525 | hfmultivdu-vnf1-mgmtVM-0 | ACTIVE | hfmultivdu-internal=192.168.129.97; osm-ext=172.21.248.186 | ubuntu20.04 | simple_requires-1-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27:48 | BUILDING | INSTANTIATING (9cbf0ca6-a8cb-488d-b998-017bc517e0cf) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27:48 | BUILDING | INSTANTIATING (9cbf0ca6-a8cb-488d-b998-017bc517e0cf) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27:48 | BUILDING | INSTANTIATING (9cbf0ca6-a8cb-488d-b998-017bc517e0cf) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27:48 | BUILDING | INSTANTIATING (9cbf0ca6-a8cb-488d-b998-017bc517e0cf) | N/A | +-----------------------------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27: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} = +--------------------------------------+-----------------------------------------------+--------+-------------------------------------------------------------------------------------------------------... ${stdout} Logs the given message with the given level. +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | ID | Name | Status | Networks | Image | Flavor | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | BUILD | | ubuntu20.04 | several_volumes-VM-flv | | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | heal_02-datanet=192.168.241.11; osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | heal_02-datanet=192.168.241.190; osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | heal_02-datanet=192.168.241.95; osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${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 | e9aac902-262e-4f99-8b2b-286a3ddf351f | 2024-04-16T02:27: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} = e9aac902-262e-4f99-8b2b-286a3ddf351f ${ns_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${ns_id} = e9aac902-262e-4f99-8b2b-286a3ddf351f 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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840c2c280>, 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.13: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.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=ifInOctets%7BifIndex=%221%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:29:34 GMT', 'Content-Length': '218'} body={"status":"success","data":{"resultType":"vector","result":[{"metric":{"__name__":"ifInOctets","ifAlias":"lo","ifDescr":"lo","ifIndex":"1","ifName":"lo","instance":"172.21.249.56","job":"d9c200e151ff473fa8e2bedd812e5cd8"},"value":[1713234574.521,"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.56', '... ${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.56', 'job': 'd9c200e151ff473fa8e2bedd812e5cd8'}, 'value': [1713234574.5... ${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} = ['""', '""'] ${auth} None Returns the given values which can then be assigned to a variables. 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.13:9091, headers={}, cookies={}, auth=<requests.auth.HTTPBasicAuth object at 0x7f9840d76560>, 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.13: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.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic IiI6IiI='} body=None GET Response : url=http://172.21.249.13:9091/api/v1/query?query=ifMtu%7BifIndex=%222%22,%7D status=200, reason=OK headers={'Content-Encoding': 'gzip', 'Content-Type': 'application/json', 'Date': 'Tue, 16 Apr 2024 02:29:34 GMT', 'Content-Length': '244'} 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.56","job":"d9c200e151ff473fa8e2bedd812e5cd8"},"value":[1713234574.542,"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.56', 'job': 'd9c200e151ff473fa8e2bedd812e5cd8... ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | BUILD | | ubuntu18.04 | simple_requires-1-1-flv | | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 1236befb-492b-425f-acf6-f65494c4a53a | sa_08-vnf_with_v-VyOS Router-vyos-VM-0 | ACTIVE | osm-ext=172.21.249.56; sa_08-vnf_with_v-external=192.168.123.62; sa_08-vnf_with_v-internal=192.168.169.194 | vyos-1.1.7 | vyos-VM-VyOS Router-1-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 60119ada-69e0-4ac6-90c3-6c5c3e88f9b3 | heal_02-charm_vnf-mgmtVM-1 | ACTIVE | osm-ext=172.21.249.36 | ubuntu18.04 | simple_requires-1-1-flv | | 57f7a8e2-7c6f-44c2-ac1c-69762acb8785 | heal_02-charm_vnf-mgmtVM-2 | ACTIVE | osm-ext=172.21.248.202 | ubuntu18.04 | simple_requires-1-1-flv | | 87f0b740-fe19-4e83-be39-7922874b880a | heal_02-charm_vnf-mgmtVM-0 | ACTIVE | osm-ext=172.21.249.68 | ubuntu18.04 | simple_requires-1-1-flv | | 7a80b1b4-a1ed-4990-99a3-645d534136a7 | heal_02-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.248.113 | ubuntu20.04 | several_volumes-VM-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------------------------------------------------------------+-------------+---------------------------+ ${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 | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ | 7b84ed80-2a49-47b9-a281-f4fb5d4d4d24 | heal_01-manual_scale_vnf-mgmtVM-1 | ACTIVE | heal_01-datanet=192.168.105.27; osm-ext=172.21.248.3 | ubuntu18.04 | simple_requires-1-1-flv | | 869533e9-e07c-447e-903e-205e9393210d | heal_01-manual_scale_vnf-mgmtVM-0 | ACTIVE | heal_01-datanet=192.168.105.7; osm-ext=172.21.248.92 | ubuntu18.04 | simple_requires-1-1-flv | | 08e1a7be-cfc4-4eb4-a1eb-416a751c76d8 | heal_01-several_volumes_-several_volumes-VM-0 | ACTIVE | osm-ext=172.21.249.170 | ubuntu20.04 | several_volumes-VM-flv | | 4b65e2f1-ef97-4440-ab01-496eef475bbb | sa_02-vnf-hackfest_basic_metrics-VM-0 | ACTIVE | osm-ext=172.21.249.166 | ubuntu20.04 | simple_requires-1-1-flv | | 5b443a83-1a83-4a98-9272-cfbb9709089c | osm-master-merge-2956 | ACTIVE | osm-ext=172.21.248.57 | ubuntu22.04 | osm.sanity | | 01cfc8a2-416f-4ed6-8937-502bb8e9a6de | osm-v120-merge-715 | ACTIVE | osm-ext=172.21.249.229 | ubuntu20.04 | osm.sanity | | 50c922cb-3563-49cc-992a-7c6452234d69 | osm-v140-merge-286 | ACTIVE | osm-ext=172.21.249.85 | ubuntu22.04 | osm.sanity | | f7c0bf78-3d6e-4943-bac3-06c20b8b8b42 | osm-v140-merge-298 | ACTIVE | osm-ext=172.21.249.13 | ubuntu22.04 | osm.sanity | | d1c13b29-6684-4bd4-b0dd-e37f812251b6 | tfs-controller | ACTIVE | osm-ext=172.21.249.222 | ubuntu22.04 | 8CPU16RAM120DISK | | 50ff3fab-0638-4c0c-90f0-482fda44502d | connectivity-checker | ACTIVE | osm-ext=172.21.248.52 | ubuntu22.04 | m1.small | | efef733e-fa09-4a84-9166-be07e67991ee | osm-cicd-4 | ACTIVE | osm-ext=172.21.249.4 | ubuntu22.04 | cicd.stage-3 | | cdb8074d-4819-48c2-a653-48f58644103f | osm-cicd-3 | ACTIVE | osm-ext=172.21.249.3 | ubuntu22.04 | 16CPU32RAM200DISK | | c577acd0-532d-40b1-a55f-df851a7c10b5 | osm-cicd-2 | ACTIVE | osm-ext=172.21.249.2 | ubuntu22.04 | 16CPU32RAM200DISK | | d60af501-35ea-4cad-a30f-a4b163ee1647 | osm-cicd-1 | ACTIVE | osm-ext=172.21.249.1 | ubuntu22.04 | cicd.stage-1 | | e7335e3f-07d7-4f3d-9696-f74456db12ef | grafana | ACTIVE | osm-ext=172.21.249.69 | ubuntu20.04 | srsLTE-vdu-flv-7 | | 0ad5ca31-1201-46ba-b146-cd855ed154a8 | prometheus | ACTIVE | osm-ext=172.21.248.212 | ubuntu20.04 | srsLTE-vdu-flv-7 | | edd53c21-a6c0-4719-a6ee-291adfb9c011 | inframon-juju-controller | ACTIVE | osm-ext=172.21.249.111 | ubuntu20.04 | vThunder_vnfd-VM-flv | | 2244faf7-d023-40c2-b255-70c68eee9cc5 | inframon-tools | ACTIVE | osm-ext=172.21.248.15 | ubuntu22.04 | m1.small | +--------------------------------------+-----------------------------------------------+--------+------------------------------------------------------+-------------+-------------------------+ ${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 1b559762-ba48-4b7b-9422-d618f7827a51 ${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} = 1b559762-ba48-4b7b-9422-d618f7827a51 '%{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 6b75795b-cc84-4773-a6e4-bceca7a19528 ${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} = 6b75795b-cc84-4773-a6e4-bceca7a19528 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 60bfe299-1d43-44d2-8c5e-e9c16a0cef7b ${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} = 60bfe299-1d43-44d2-8c5e-e9c16a0cef7b '%{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 110d519d-9892-4e8f-bfa1-265b51af004a ${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} = 110d519d-9892-4e8f-bfa1-265b51af004a 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} = 2dc95717-1cd0-4551-9673-888228ace08a ${stdout} Logs the given message with the given level. 2dc95717-1cd0-4551-9673-888228ace08a ${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} = 83c3f3ef-b445-42f9-a85d-7b31ff766bfe ${stdout} Logs the given message with the given level. 83c3f3ef-b445-42f9-a85d-7b31ff766bfe ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = 83c3f3ef-b445-42f9-a85d-7b31ff766bfe ${nsi_id} Logs the given message with the given level. 83c3f3ef-b445-42f9-a85d-7b31ff766bfe ${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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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 | 83c3f3ef-b445-42f9-a85d-7b31ff766bfe | 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} = 83c3f3ef-b445-42f9-a85d-7b31ff766bfe ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = 83c3f3ef-b445-42f9-a85d-7b31ff766bfe 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, '8aeedc1b-fe0b-4e14-ab17-4a23952a2f57') ${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 8aeedc1b-fe0b-4e14-ab17-4a23952a2f57 | 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 | e4691f3c-6004-4325-a294-808178238207 d130a849-3a8f-4ac1-9a84-998af80daef7 ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ e4691f3c-6004-4325-a294-808178238207 | d130a849-3a8f-4ac1-9a84-998af80daef7 ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 2 and it contains following items: 0: e4691f3c-6004-4325-a294-808178238207 1: d130a849-3a8f-4ac1-9a84-998af80daef7 @{slice_ns_list} = [ e4691f3c-6004-4325-a294-808178238207 | d130a849-3a8f-4ac1-9a84-998af80daef7 ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. e4691f3c-6004-4325-a294-808178238207 d130a849-3a8f-4ac1-9a84-998af80daef7 @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} e4691f3c-6004-4325-a294-808178238207 ${ns_id} Logs the given message with the given level. e4691f3c-6004-4325-a294-808178238207 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns e4691f3c-6004-4325-a294-808178238207 | grep e4691f3c-6004-4325-a294-808178238207 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | a8b082db-a676-4a96-bd1a-00b9efc630c4 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ a8b082db-a676-4a96-bd1a-00b9efc630c4 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: a8b082db-a676-4a96-bd1a-00b9efc630c4 @{vnf_id_list} = [ a8b082db-a676-4a96-bd1a-00b9efc630c4 ] @{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} a8b082db-a676-4a96-bd1a-00b9efc630c4 ${vnf_id} Logs the given message with the given level. a8b082db-a676-4a96-bd1a-00b9efc630c4 @{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=a8b082db-a676-4a96-bd1a-00b9efc630c4 | 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.101 ] ${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.101 ] ${vnf_ip_list} Logs the given messages as separate entries using the INFO level. ['172.21.248.101'] ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.101 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.101 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.101 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.101 ] d130a849-3a8f-4ac1-9a84-998af80daef7 ${ns_id} Logs the given message with the given level. d130a849-3a8f-4ac1-9a84-998af80daef7 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns d130a849-3a8f-4ac1-9a84-998af80daef7 | grep d130a849-3a8f-4ac1-9a84-998af80daef7 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 8c8bb324-a256-43ee-96b1-8caa9e91e192 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 8c8bb324-a256-43ee-96b1-8caa9e91e192 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 8c8bb324-a256-43ee-96b1-8caa9e91e192 @{vnf_id_list} = [ 8c8bb324-a256-43ee-96b1-8caa9e91e192 ] @{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} 8c8bb324-a256-43ee-96b1-8caa9e91e192 ${vnf_id} Logs the given message with the given level. 8c8bb324-a256-43ee-96b1-8caa9e91e192 @{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=8c8bb324-a256-43ee-96b1-8caa9e91e192 | 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.97 ] ${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.97 ] ${vnf_ip_list} Logs the given messages as separate entries using the INFO level. ['172.21.248.97'] ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.97 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.97 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.97 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.101 | 172.21.248.97 ] ${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.248.101 1: 172.21.248.97 ${slice_vnfs_ips} ${temp_list} Makes a variable available everywhere within the scope of the current suite. ${slice_vnfs_ips} = ['172.21.248.101', '172.21.248.97'] 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.87 ms 64 bytes from 172.21.249.93: icmp_seq=2 ttl=63 time=0.781 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.87 ms 64 bytes from 172.21.249.93: icmp_seq=2 ttl=63 time=0.781 ms --- 172.21.249.93 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.781/1.827/2.874/1.046 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 Tue Apr 16 02:33:31 UTC 2024 System load: 0.08 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.86.106 Swap usage: 0% IP address for ens5: 192.168.218.197 Processes: 84 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 Tue Apr 16 02:33:34 UTC 2024 System load: 0.23 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.86.106 Swap usage: 0% IP address for ens5: 192.168.218.197 Processes: 84 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 02:33: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@slicebasic:~$ ${ip} @{ip_list} 172.21.248.101 ${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.101 > /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.97 ${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.97 > /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 328d1fb3-1c7a-4b7b-8d41-00ca1983b58a ${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} = 328d1fb3-1c7a-4b7b-8d41-00ca1983b58a '%{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 eb6835f9-26fd-4f12-afa7-c66a0a5eb6c9 ${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} = eb6835f9-26fd-4f12-afa7-c66a0a5eb6c9 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 aec0d6cf-92a9-4a5e-951c-2d7b9836c93c ${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} = aec0d6cf-92a9-4a5e-951c-2d7b9836c93c '%{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 95c7abeb-c33f-4388-bce3-3e68a76b58dc ${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} = 95c7abeb-c33f-4388-bce3-3e68a76b58dc 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} = 01e1e9c4-f28f-4f70-a525-f81606c83ba2 ${stdout} Logs the given message with the given level. 01e1e9c4-f28f-4f70-a525-f81606c83ba2 ${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} = 559dbae0-65b9-4dd9-ae87-d7b3f2ef5da9 ${stdout} Logs the given message with the given level. 559dbae0-65b9-4dd9-ae87-d7b3f2ef5da9 ${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} = d88a21fa-0c42-44b5-83a5-f04e845b4bb0 ${stdout} Logs the given message with the given level. d88a21fa-0c42-44b5-83a5-f04e845b4bb0 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = d88a21fa-0c42-44b5-83a5-f04e845b4bb0 ${nsi_id} Logs the given message with the given level. d88a21fa-0c42-44b5-83a5-f04e845b4bb0 ${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 | d88a21fa-0c42-44b5-83a5-f04e845b4bb0 | 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 | d88a21fa-0c42-44b5-83a5-f04e845b4bb0 | 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 | d88a21fa-0c42-44b5-83a5-f04e845b4bb0 | 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 | d88a21fa-0c42-44b5-83a5-f04e845b4bb0 | 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 | d88a21fa-0c42-44b5-83a5-f04e845b4bb0 | 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 | d88a21fa-0c42-44b5-83a5-f04e845b4bb0 | 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} = d88a21fa-0c42-44b5-83a5-f04e845b4bb0 ${nsi_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi_id} = d88a21fa-0c42-44b5-83a5-f04e845b4bb0 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} = ba535d84-ddd5-4e3b-8f60-30d779a0d303 ${stdout} Logs the given message with the given level. ba535d84-ddd5-4e3b-8f60-30d779a0d303 ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> ${nsi_id} = ba535d84-ddd5-4e3b-8f60-30d779a0d303 ${nsi_id} Logs the given message with the given level. ba535d84-ddd5-4e3b-8f60-30d779a0d303 ${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 | ba535d84-ddd5-4e3b-8f60-30d779a0d303 | 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 | ba535d84-ddd5-4e3b-8f60-30d779a0d303 | 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 | ba535d84-ddd5-4e3b-8f60-30d779a0d303 | 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 | ba535d84-ddd5-4e3b-8f60-30d779a0d303 | 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 | ba535d84-ddd5-4e3b-8f60-30d779a0d303 | 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 | ba535d84-ddd5-4e3b-8f60-30d779a0d303 | 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} = ba535d84-ddd5-4e3b-8f60-30d779a0d303 ${nsi2_id} ${id} Makes a variable available everywhere within the scope of the current suite. ${nsi2_id} = ba535d84-ddd5-4e3b-8f60-30d779a0d303 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, 'f3a7416e-9f4d-43ba-82f6-4ff2a8095543') ${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 f3a7416e-9f4d-43ba-82f6-4ff2a8095543 | awk '{print $14}' 2>&1'. ${rc} = 0 ${stdout} = 172.21.249.163 ${stdout} Logs the given message with the given level. 172.21.249.163 ${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.163 '${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.163 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 | 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e f3a7416e-9f4d-43ba-82f6-4ff2a8095543 3af09cf7-7f28-4aef-a889-979c21d5eb6b ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e | f3a7416e-9f4d-43ba-82f6-4ff2a8095543 | 3af09cf7-7f28-4aef-a889-979c21d5eb6b ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List length is 3 and it contains following items: 0: 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e 1: f3a7416e-9f4d-43ba-82f6-4ff2a8095543 2: 3af09cf7-7f28-4aef-a889-979c21d5eb6b @{slice_ns_list} = [ 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e | f3a7416e-9f4d-43ba-82f6-4ff2a8095543 | 3af09cf7-7f28-4aef-a889-979c21d5eb6b ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e f3a7416e-9f4d-43ba-82f6-4ff2a8095543 3af09cf7-7f28-4aef-a889-979c21d5eb6b @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e ${ns_id} Logs the given message with the given level. 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e | grep 7f9e0c10-0c9d-4176-944a-7ccfc2c6318e | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 89c8d2a2-bdaf-421c-b58d-015638c46e8c ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 89c8d2a2-bdaf-421c-b58d-015638c46e8c ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 89c8d2a2-bdaf-421c-b58d-015638c46e8c @{vnf_id_list} = [ 89c8d2a2-bdaf-421c-b58d-015638c46e8c ] @{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} 89c8d2a2-bdaf-421c-b58d-015638c46e8c ${vnf_id} Logs the given message with the given level. 89c8d2a2-bdaf-421c-b58d-015638c46e8c @{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=89c8d2a2-bdaf-421c-b58d-015638c46e8c | 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.135 ] ${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.135 ] ${vnf_ip_list} Logs the given messages as separate entries using the INFO level. ['172.21.248.135'] ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.135 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.135 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.135 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.135 ] f3a7416e-9f4d-43ba-82f6-4ff2a8095543 ${ns_id} Logs the given message with the given level. f3a7416e-9f4d-43ba-82f6-4ff2a8095543 @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns f3a7416e-9f4d-43ba-82f6-4ff2a8095543 | grep f3a7416e-9f4d-43ba-82f6-4ff2a8095543 | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | 9c508665-3404-4a45-b36b-1b7b5c783449 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ 9c508665-3404-4a45-b36b-1b7b5c783449 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 9c508665-3404-4a45-b36b-1b7b5c783449 @{vnf_id_list} = [ 9c508665-3404-4a45-b36b-1b7b5c783449 ] @{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} 9c508665-3404-4a45-b36b-1b7b5c783449 ${vnf_id} Logs the given message with the given level. 9c508665-3404-4a45-b36b-1b7b5c783449 @{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=9c508665-3404-4a45-b36b-1b7b5c783449 | 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.163 ] ${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.163 ] ${vnf_ip_list} Logs the given messages as separate entries using the INFO level. ['172.21.249.163'] ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.163 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.163 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.163 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.135 | 172.21.249.163 ] 3af09cf7-7f28-4aef-a889-979c21d5eb6b ${ns_id} Logs the given message with the given level. 3af09cf7-7f28-4aef-a889-979c21d5eb6b @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns 3af09cf7-7f28-4aef-a889-979c21d5eb6b | grep 3af09cf7-7f28-4aef-a889-979c21d5eb6b | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | d0ea729b-94d2-4b1a-8c67-5ddf8b4e8562 ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ d0ea729b-94d2-4b1a-8c67-5ddf8b4e8562 ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: d0ea729b-94d2-4b1a-8c67-5ddf8b4e8562 @{vnf_id_list} = [ d0ea729b-94d2-4b1a-8c67-5ddf8b4e8562 ] @{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} d0ea729b-94d2-4b1a-8c67-5ddf8b4e8562 ${vnf_id} Logs the given message with the given level. d0ea729b-94d2-4b1a-8c67-5ddf8b4e8562 @{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=d0ea729b-94d2-4b1a-8c67-5ddf8b4e8562 | 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.221 ] ${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.221 ] ${vnf_ip_list} Logs the given messages as separate entries using the INFO level. ['172.21.248.221'] ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.248.221 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.221 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.248.221 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.248.135 | 172.21.249.163 | 172.21.248.221 ] ${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.248.135 1: 172.21.249.163 2: 172.21.248.221 @{ip_list} = [ 172.21.248.135 | 172.21.249.163 | 172.21.248.221 ] ${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.248.135', '172.21.249.163', '172.21.248.221'] 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.249.163 2>&1'. ${rc} = 0 ${stdout} = PING 172.21.249.163 (172.21.249.163) 56(84) bytes of data. 64 bytes from 172.21.249.163: icmp_seq=1 ttl=63 time=2.99 ms 64 bytes from 172.21.249.163: icmp_seq=2 ttl=63 time=0.608 ms --- 172.21.249.16... ${stdout} Logs the given message with the given level. PING 172.21.249.163 (172.21.249.163) 56(84) bytes of data. 64 bytes from 172.21.249.163: icmp_seq=1 ttl=63 time=2.99 ms 64 bytes from 172.21.249.163: icmp_seq=2 ttl=63 time=0.608 ms --- 172.21.249.163 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 0.608/1.797/2.987/1.189 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.249.163: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 Tue Apr 16 02:39:05 UTC 2024 System load: 0.02 Users logged in: 0 Usage of /: 11.5% of 9.52GB IP address for ens3: 172.21.249.163 Memory usage: 12% IP address for ens4: 192.168.119.87 Swap usage: 0% IP address for ens5: 192.168.135.29 Processes: 84 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.249.163: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 Tue Apr 16 02:39:07 UTC 2024 System load: 0.18 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.163 Memory usage: 12% IP address for ens4: 192.168.119.87 Swap usage: 0% IP address for ens5: 192.168.135.29 Processes: 84 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 02:39:06 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.135 ${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.135 > /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.163 ${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.163 > /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.221 ${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.221 > /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 | d3de8a7f-bc11-4e87-bfd9-3481a335838c ] @{ns_list} ${ns_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{ns_list} = [ d3de8a7f-bc11-4e87-bfd9-3481a335838c ] ${ns_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: d3de8a7f-bc11-4e87-bfd9-3481a335838c @{slice_ns_list} = [ d3de8a7f-bc11-4e87-bfd9-3481a335838c ] @{slice_ns_list} Logs the given messages as separate entries using the INFO level. d3de8a7f-bc11-4e87-bfd9-3481a335838c @{temp_list} Returns a list containing given items. @{temp_list} = [ ] ${ns_id} @{slice_ns_list} d3de8a7f-bc11-4e87-bfd9-3481a335838c ${ns_id} Logs the given message with the given level. d3de8a7f-bc11-4e87-bfd9-3481a335838c @{vnf_id_list} ${ns_id} ${ns_id} Verifies that the given item is not empty. Length is 36 @{vnf_list_string} osm vnf-list --ns ${ns_id} | 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 --ns d3de8a7f-bc11-4e87-bfd9-3481a335838c | grep d3de8a7f-bc11-4e87-bfd9-3481a335838c | awk '{print $2}' 2>&1'. @{vnf_list_string} = [ 0 | e0cd70ae-4609-4df5-9ff4-289070045c3c ] @{vnf_list} ${vnf_list_string}[1] Splits the ``string`` using ``separator`` as a delimiter string. @{vnf_list} = [ e0cd70ae-4609-4df5-9ff4-289070045c3c ] ${vnf_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: e0cd70ae-4609-4df5-9ff4-289070045c3c @{vnf_id_list} = [ e0cd70ae-4609-4df5-9ff4-289070045c3c ] @{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} e0cd70ae-4609-4df5-9ff4-289070045c3c ${vnf_id} Logs the given message with the given level. e0cd70ae-4609-4df5-9ff4-289070045c3c @{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=e0cd70ae-4609-4df5-9ff4-289070045c3c | 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.138 ] ${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.138 ] ${vnf_ip_list} Logs the given messages as separate entries using the INFO level. ['172.21.249.138'] ${vnf_ip_list} Verifies that the given item is not empty. Length is 1 @{vnf_ip_list} = [ 172.21.249.138 ] @{temp_list} ${temp_list} ${vnf_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.138 ] ${temp_list} Verifies that the given item is not empty. Length is 1 @{ns_ip_list} = [ 172.21.249.138 ] @{temp_list} ${temp_list} ${ns_ip_list} Combines the given ``lists`` together and returns the result. @{temp_list} = [ 172.21.249.138 ] ${temp_list} Logs the length and contents of the ``list`` using given ``level``. List has one item: 172.21.249.138 @{ip_list} = [ 172.21.249.138 ] ${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.249.138'] 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.249.163: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 Tue Apr 16 02:40:03 UTC 2024 System load: 0.07 Users logged in: 0 Usage of /: 11.8% of 9.52GB IP address for ens3: 172.21.249.163 Memory usage: 12% IP address for ens4: 192.168.119.87 Swap usage: 0% IP address for ens5: 192.168.135.29 Processes: 84 0 updates can be applied immediately. New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Tue Apr 16 02:39:08 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.138 ${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.138 > /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. ${rc} ${stdout} osm vnfpkg-list Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list 2>&1'. ${rc} = 0 ${stdout} = +------------+----+-----------+ | nfpkg name | id | desc type | +------------+----+-----------+ +------------+----+-----------+ ${stdout} Logs the given message with the given level. +------------+----+-----------+ | nfpkg name | id | desc type | +------------+----+-----------+ +------------+----+-----------+ ${rc} 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'> ${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 56bcd21b-3021-4753-942e-e9619ea00387 ${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} = 56bcd21b-3021-4753-942e-e9619ea00387 ${id} = 56bcd21b-3021-4753-942e-e9619ea00387 ${vnfid} ${id} Makes a variable available everywhere within the scope of the current suite. ${vnfid} = 56bcd21b-3021-4753-942e-e9619ea00387 ${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} = fd3ed49f-821a-43c8-be92-577b7c5b0858 ${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} = fd3ed49f-821a-43c8-be92-577b7c5b0858 ${created_vim_account_id} Makes a variable available everywhere within the scope of the current suite. ${created_vim_account_id} = fd3ed49f-821a-43c8-be92-577b7c5b0858 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:23 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/6an6Z4ouQQZ5qNHt1K5cyhwVVGAj7p0V', 'Content-Length': '653', 'Set-Cookie': 'session_id=a3fde3e2e3e7fcf4349434bd9aa2b929e2f96d6e; expires=Tue, 16 Apr 2024 03:41:23 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235283.877044, "expires": 1713238883.877044, "_id": "6an6Z4ouQQZ5qNHt1K5cyhwVVGAj7p0V", "id": "6an6Z4ouQQZ5qNHt1K5cyhwVVGAj7p0V", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235282.725413, "admin_show": true, "user_show": false, "remote_port": 44763, "remote_host": "10.244.0.1" } ${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} = ['6an6Z4ouQQZ5qNHt1K5cyhwVVGAj7p0V', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 6an6Z4ouQQZ5qNHt1K5cyhwVVGAj7p0V ${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': 'fd3ed49f-821a-43c8-be92-577b7c5b0858', 'addi... ${updated_json_obj} Logs the given message with the given level. {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'fd3ed49f-821a-43c8-be92-577b7c5b0858', 'additionalParams': {'virtual-link-desc': [{'id': 'mgmtnet', 'mgmt-network': True}], 'constituent-cpd-id': 'vnf-cp0-ext', 'virtual-link-profile-id': 'mgmtnet'}} ${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': 'fd3ed49f-821a-43c8-be92-577b7c5b0858', 'addi... ${updated_json_obj} Logs the given message with the given level. {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'fd3ed49f-821a-43c8-be92-577b7c5b0858', 'additionalParams': {'virtual-link-desc': [{'id': 'osm-ext', 'mgmt-network': True}], 'constituent-cpd-id': 'vnf-cp0-ext', 'virtual-link-profile-id': 'mgmtnet'}} ${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': 'fd3ed49f-821a-43c8-be92-577b7c5b0858', 'addi... ${updated_json_obj} Logs the given message with the given level. {'vnfdId': 'hackfest_basic_metrics-vnf', 'vnfInstanceName': 'sol003-instance', 'vnfInstanceDescription': 'Test vnfm instance description', 'vimAccountId': 'fd3ed49f-821a-43c8-be92-577b7c5b0858', 'additionalParams': {'virtual-link-desc': [{'id': 'osm-ext', 'mgmt-network': True}], 'constituent-cpd-id': 'vnf-cp0-ext', 'virtual-link-profile-id': 'osm-ext'}} ${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': 'fd3ed49f-821a-43c8-be92-577b7c5b0858', '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.13: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 6an6Z4ouQQZ5qNHt1K5cyhwVVGAj7p0V } ${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.13:9999/osm/vnflcm/v1/vnf_instances path_url=/osm/vnflcm/v1/vnf_instances headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 6an6Z4ouQQZ5qNHt1K5cyhwVVGAj7p0V', 'Content-Length': '355'} body=b'{"vnfdId": "hackfest_basic_metrics-vnf", "vnfInstanceName": "sol003-instance", "vnfInstanceDescription": "Test vnfm instance description", "vimAccountId": "fd3ed49f-821a-43c8-be92-577b7c5b0858", "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.13:9999/osm/vnflcm/v1/vnf_instances status=201, reason=Created headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:27 GMT', 'Location': '/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14', 'Content-Length': '53', 'Set-Cookie': 'session_id=1edfa564f83fd677c3d6f785068e02dedbaf0242; expires=Tue, 16 Apr 2024 03:41:27 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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} = ['fd9cfc15-6b89-4340-8774-31268275cb14'] ${createid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${createid} = fd9cfc15-6b89-4340-8774-31268275cb14 ${rc} ${stdout} osm vnfpkg-list Runs the given command in the system and returns the RC and output. Running command 'osm vnfpkg-list 2>&1'. ${rc} = 0 ${stdout} = +----------------------------+--------------------------------------+-----------+ | nfpkg name | id | desc type | +----------------------------+------... ${stdout} Logs the given message with the given level. +----------------------------+--------------------------------------+-----------+ | nfpkg name | id | desc type | +----------------------------+--------------------------------------+-----------+ | hackfest_basic_metrics-vnf | 56bcd21b-3021-4753-942e-e9619ea00387 | sol006 | +----------------------------+--------------------------------------+-----------+ ${rc} 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'> Test case to create a VNF Identifier cluster_osm_rest daily sol003_01 ${rc} ${stdout} osm ns-list 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list 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 | +--------------------+--------------------------------------+---------------------+------------------+-------------------+---------------+ | sol003-instance-ns | 09b307c9-8384-4fcf-878b-6f34eb5680fb | 2024-04-16T02:41:27 | NOT_INSTANTIATED | 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'> ${rc} ${stdout} osm vnf-list 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------+--------------------------------------+------------------+----------------------------+----------------+------------+ | vnf id ... ${stdout} Logs the given message with the given level. +--------------------------------------+------+--------------------------------------+------------------+----------------------------+----------------+------------+ | vnf id | name | ns id | vnf member index | vnfd name | vim account id | ip address | +--------------------------------------+------+--------------------------------------+------------------+----------------------------+----------------+------------+ | fd9cfc15-6b89-4340-8774-31268275cb14 | - | 09b307c9-8384-4fcf-878b-6f34eb5680fb | 1 | hackfest_basic_metrics-vnf | None | None | +--------------------------------------+------+--------------------------------------+------------------+----------------------------+----------------+------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:31 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/fk6YAOSGGLFuTgxudq7szAGf2jgnFktv', 'Content-Length': '654', 'Set-Cookie': 'session_id=db4758f92ef2b549ba728b7e0c5153662c9953fc; expires=Tue, 16 Apr 2024 03:41:31 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235291.031214, "expires": 1713238891.031214, "_id": "fk6YAOSGGLFuTgxudq7szAGf2jgnFktv", "id": "fk6YAOSGGLFuTgxudq7szAGf2jgnFktv", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235289.8816726, "admin_show": true, "user_show": false, "remote_port": 37359, "remote_host": "10.244.0.1" } ${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} = ['fk6YAOSGGLFuTgxudq7szAGf2jgnFktv', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = fk6YAOSGGLFuTgxudq7szAGf2jgnFktv ${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': 'fd3ed49f-821a-43c8-be92-577b7c5b0858'} ${updated_json_obj} ${updated_json_obj} $..vnfId ${createid} Update value to JSON using JSONPath ${updated_json_obj} = {'vnfName': 'sol003-instance', 'vnfDescription': 'vnf package', 'vnfId': 'fd9cfc15-6b89-4340-8774-31268275cb14', 'vimAccountId': 'fd3ed49f-821a-43c8-be92-577b7c5b0858'} ${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': 'fd9cfc15-6b89-4340-8774-31268275cb14', 'vimAccountId': 'fd3ed49f-821a-43c8-be92-577b7c5b0858'} ${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.13: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 fk6YAOSGGLFuTgxudq7szAGf2jgnFktv } ${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.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/instantiate path_url=/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/instantiate headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer fk6YAOSGGLFuTgxudq7szAGf2jgnFktv', 'Content-Length': '168'} body=b'{"vnfName": "sol003-instance", "vnfDescription": "vnf package", "vnfId": "fd9cfc15-6b89-4340-8774-31268275cb14", "vimAccountId": "fd3ed49f-821a-43c8-be92-577b7c5b0858"}' POST Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/instantiate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:34 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f', 'Content-Length': '53', 'Set-Cookie': 'session_id=056ada331b64833ec1904e2c2ca6a32133b502f5; expires=Tue, 16 Apr 2024 03:41:34 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "58e22819-bf2b-428f-9034-81ab59831e6f" } ${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} = ['58e22819-bf2b-428f-9034-81ab59831e6f'] ${instantiateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${instantiateid} = 58e22819-bf2b-428f-9034-81ab59831e6f 12s Pauses the test executed for the given time. Slept 12 seconds ${rc} ${stdout} osm ns-list 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm ns-list 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 | +--------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ | sol003-instance-ns | 09b307c9-8384-4fcf-878b-6f34eb5680fb | 2024-04-16T02:41:27 | BUILDING | INSTANTIATING (58e22819-bf2b-428f-9034-81ab59831e6f) | N/A | +--------------------+--------------------------------------+---------------------+----------+------------------------------------------------------+---------------+ To get the history of all operations 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'> ${rc} ${stdout} osm vnf-list 2>&1 Runs the given command in the system and returns the RC and output. Running command 'osm vnf-list 2>&1'. ${rc} = 0 ${stdout} = +--------------------------------------+------+--------------------------------------+------------------+----------------------------+--------------------------------------+------------+ | vnf id ... ${stdout} Logs the given message with the given level. +--------------------------------------+------+--------------------------------------+------------------+----------------------------+--------------------------------------+------------+ | vnf id | name | ns id | vnf member index | vnfd name | vim account id | ip address | +--------------------------------------+------+--------------------------------------+------------------+----------------------------+--------------------------------------+------------+ | fd9cfc15-6b89-4340-8774-31268275cb14 | - | 09b307c9-8384-4fcf-878b-6f34eb5680fb | 1 | hackfest_basic_metrics-vnf | fd3ed49f-821a-43c8-be92-577b7c5b0858 | None | +--------------------------------------+------+--------------------------------------+------------------+----------------------------+--------------------------------------+------------+ ${rc} ${success_return_code} Fails if objects are unequal after converting them to integers. Argument types are: <class 'int'> <class 'str'> Test case to Instantiate a VNF cluster_osm_rest 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:48 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/I9O1wtZJtlhEvlfPEK8TnstqdZoKROib', 'Content-Length': '656', 'Set-Cookie': 'session_id=8105117feec38dd631c4edf4e4b6dc7d9ee3149a; expires=Tue, 16 Apr 2024 03:41:48 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235308.5228298, "expires": 1713238908.5228298, "_id": "I9O1wtZJtlhEvlfPEK8TnstqdZoKROib", "id": "I9O1wtZJtlhEvlfPEK8TnstqdZoKROib", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235307.3821456, "admin_show": true, "user_show": false, "remote_port": 33300, "remote_host": "10.244.0.1" } ${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} = ['I9O1wtZJtlhEvlfPEK8TnstqdZoKROib', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = I9O1wtZJtlhEvlfPEK8TnstqdZoKROib ${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.13: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 I9O1wtZJtlhEvlfPEK8TnstqdZoKROib } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_instances path_url=/osm/vnflcm/v1/vnf_instances headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer I9O1wtZJtlhEvlfPEK8TnstqdZoKROib'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_instances status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:51 GMT', 'Content-Length': '4519', 'Set-Cookie': 'session_id=c620a8cf92f96c1e978dbe4df5699336f4949af2; expires=Tue, 16 Apr 2024 03:41:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "fd9cfc15-6b89-4340-8774-31268275cb14", "id": "fd9cfc15-6b89-4340-8774-31268275cb14", "nsr-id-ref": "09b307c9-8384-4fcf-878b-6f34eb5680fb", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1713235287.2403986, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "56bcd21b-3021-4753-942e-e9619ea00387", "vim-account-id": "fd3ed49f-821a-43c8-be92-577b7c5b0858", "vca-id": null, "vdur": [ { "_id": "f48413d2-c337-42b9-9403-93d019d96b46", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "09b307c9-8384-4fcf-878b-6f34eb5680fb", "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": "fd3ed49f-821a-43c8-be92-577b7c5b0858", "vnf_id": "fd9cfc15-6b89-4340-8774-31268275cb14", "vnfd_id": "56bcd21b-3021-4753-942e-e9619ea00387", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "56bcd21b-3021-4753-942e-e9619ea00387:file:cloud-config", "count-index": 0, "id": "f48413d2-c337-42b9-9403-93d019d96b46", "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:fd3ed49f-821a-43c8-be92-577b7c5b0858": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "175e0702-2c11-4f51-89f6-ebe3eefd6166", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "175e0702-2c11-4f51-89f6-ebe3eefd6166" } ], "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": 1713235287.2405136, "modified": 1713235287.2405136, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "nsState": "INSTANTIATED" } } ] ${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} = ['fd9cfc15-6b89-4340-8774-31268275cb14', 'f48413d2-c337-42b9-9403-93d019d96b46'] ${Queryid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Queryid} = fd9cfc15-6b89-4340-8774-31268275cb14 Test case to query VNF Instance cluster_osm_rest 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:51 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/1iLyC4citJhB4f3wFYr7lZMdYk1OuycR', 'Content-Length': '656', 'Set-Cookie': 'session_id=43d7683ba17cfe053affe56fb7e7bdd0c8752446; expires=Tue, 16 Apr 2024 03:41:51 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235311.7407594, "expires": 1713238911.7407594, "_id": "1iLyC4citJhB4f3wFYr7lZMdYk1OuycR", "id": "1iLyC4citJhB4f3wFYr7lZMdYk1OuycR", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235308.5228298, "admin_show": true, "user_show": false, "remote_port": 31723, "remote_host": "10.244.0.1" } ${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} = ['1iLyC4citJhB4f3wFYr7lZMdYk1OuycR', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 1iLyC4citJhB4f3wFYr7lZMdYk1OuycR ${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.13: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 1iLyC4citJhB4f3wFYr7lZMdYk1OuycR } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14 path_url=/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 1iLyC4citJhB4f3wFYr7lZMdYk1OuycR'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:53 GMT', 'Content-Length': '4071', 'Set-Cookie': 'session_id=32ef6aab80ee4e48c6e3cc7fc1724083f2174d6d; expires=Tue, 16 Apr 2024 03:41:53 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "fd9cfc15-6b89-4340-8774-31268275cb14", "id": "fd9cfc15-6b89-4340-8774-31268275cb14", "nsr-id-ref": "09b307c9-8384-4fcf-878b-6f34eb5680fb", "member-vnf-index-ref": "1", "additionalParamsForVnf": null, "created-time": 1713235287.2403986, "vnfd-ref": "hackfest_basic_metrics-vnf", "vnfd-id": "56bcd21b-3021-4753-942e-e9619ea00387", "vim-account-id": "fd3ed49f-821a-43c8-be92-577b7c5b0858", "vca-id": null, "vdur": [ { "_id": "f48413d2-c337-42b9-9403-93d019d96b46", "additionalParams": { "OSM": { "count_index": 0, "member_vnf_index": "1", "ns_id": "09b307c9-8384-4fcf-878b-6f34eb5680fb", "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": "fd3ed49f-821a-43c8-be92-577b7c5b0858", "vnf_id": "fd9cfc15-6b89-4340-8774-31268275cb14", "vnfd_id": "56bcd21b-3021-4753-942e-e9619ea00387", "vnfd_ref": "hackfest_basic_metrics-vnf" } }, "affinity-or-anti-affinity-group-id": [], "alt-image-ids": [ "1", "2", "3" ], "cloud-init": "56bcd21b-3021-4753-942e-e9619ea00387:file:cloud-config", "count-index": 0, "id": "f48413d2-c337-42b9-9403-93d019d96b46", "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:fd3ed49f-821a-43c8-be92-577b7c5b0858": { "interfaces": [], "interfaces_backup": [], "vim_details": null, "vim_id": "175e0702-2c11-4f51-89f6-ebe3eefd6166", "vim_message": null, "vim_status": "BUILD" } }, "virtual-storages": [ { "id": "hackfest_basic_metrics-VM-storage", "size-of-storage": "10" } ], "status": "BUILD", "vim-id": "175e0702-2c11-4f51-89f6-ebe3eefd6166" } ], "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": 1713235287.2405136, "modified": 1713235287.2405136, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "nsState": "INSTANTIATED" } } ${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} = ['fd9cfc15-6b89-4340-8774-31268275cb14', 'f48413d2-c337-42b9-9403-93d019d96b46'] ${Instanceid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${Instanceid} = fd9cfc15-6b89-4340-8774-31268275cb14 Test case to query Vnf instance ID cluster_osm_rest 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:53 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ', 'Content-Length': '655', 'Set-Cookie': 'session_id=42fcc50060bf3a754ac3567f1e9c4d32f3de9b9f; expires=Tue, 16 Apr 2024 03:41:53 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235313.9160926, "expires": 1713238913.9160926, "_id": "9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ", "id": "9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235311.7407594, "admin_show": true, "user_show": false, "remote_port": 7161, "remote_host": "10.244.0.1" } ${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} = ['9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = 9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ ${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.13: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 9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:55 GMT', 'Content-Length': '1302', 'Set-Cookie': 'session_id=eec9bee9f500a4a7d0bb7a1b3ac6b2f158d57625; expires=Tue, 16 Apr 2024 03:41:55 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "58e22819-bf2b-428f-9034-81ab59831e6f", "id": "58e22819-bf2b-428f-9034-81ab59831e6f", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235294.2017074, "lcmOperationType": "instantiate", "startTime": 1713235294.2017074, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235294.2017398, "modified": 1713235309.5224473, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "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/58e22819-bf2b-428f-9034-81ab59831e6f", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ] ${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} = ['58e22819-bf2b-428f-9034-81ab59831e6f'] ${lcmops} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmops} = 58e22819-bf2b-428f-9034-81ab59831e6f ${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.13: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 9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:41:56 GMT', 'Content-Length': '1302', 'Set-Cookie': 'session_id=26da35c35abbffa2b92a2a14e73df7ad5feca2c5; expires=Tue, 16 Apr 2024 03:41:56 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "58e22819-bf2b-428f-9034-81ab59831e6f", "id": "58e22819-bf2b-428f-9034-81ab59831e6f", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 2/5: deployment of KDUs, VMs and execution environments.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235294.2017074, "lcmOperationType": "instantiate", "startTime": 1713235294.2017074, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235294.2017398, "modified": 1713235309.5224473, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "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/58e22819-bf2b-428f-9034-81ab59831e6f", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ] ${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.13: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 9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs path_url=/osm/vnflcm/v1/vnf_lcm_op_occs headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer 9dIHcyDgMhka0BFDRWtIqtcj3zbxEyXZ'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:06 GMT', 'Content-Length': '1156', 'Set-Cookie': 'session_id=6b29fef021744f2c353d5ef8d5f6b82810a40a90; expires=Tue, 16 Apr 2024 03:42:06 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=[ { "_id": "58e22819-bf2b-428f-9034-81ab59831e6f", "id": "58e22819-bf2b-428f-9034-81ab59831e6f", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235324.5763698, "lcmOperationType": "instantiate", "startTime": 1713235294.2017074, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235294.2017398, "modified": 1713235324.5763702, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ] ${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_osm_rest 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:06 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx', 'Content-Length': '654', 'Set-Cookie': 'session_id=277e5d0802c3e6f2d81f7b3f84088d7120880dfe; expires=Tue, 16 Apr 2024 03:42:06 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235326.225663, "expires": 1713238926.225663, "_id": "duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx", "id": "duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235313.9160926, "admin_show": true, "user_show": false, "remote_port": 28552, "remote_host": "10.244.0.1" } ${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} = ['duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx ${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.13: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 duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:08 GMT', 'Content-Length': '1028', 'Set-Cookie': 'session_id=1ac84f954050090e3d04356af0b48144dff93a40; expires=Tue, 16 Apr 2024 03:42:08 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "58e22819-bf2b-428f-9034-81ab59831e6f", "id": "58e22819-bf2b-428f-9034-81ab59831e6f", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235324.5763698, "lcmOperationType": "instantiate", "startTime": 1713235294.2017074, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235294.2017398, "modified": 1713235324.5763702, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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} = ['58e22819-bf2b-428f-9034-81ab59831e6f'] ${lcmopsid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsid} = 58e22819-bf2b-428f-9034-81ab59831e6f ${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.13: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 duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer duDYnEA1sfBS6phP7m2vcXJBUkLZe0wx'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:08 GMT', 'Content-Length': '1028', 'Set-Cookie': 'session_id=e65a758c418279d79dcd43deccf3b38effcb0d0e; expires=Tue, 16 Apr 2024 03:42:08 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "58e22819-bf2b-428f-9034-81ab59831e6f", "id": "58e22819-bf2b-428f-9034-81ab59831e6f", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235324.5763698, "lcmOperationType": "instantiate", "startTime": 1713235294.2017074, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235294.2017398, "modified": 1713235324.5763702, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/58e22819-bf2b-428f-9034-81ab59831e6f", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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_osm_rest 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:08 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5', 'Content-Length': '655', 'Set-Cookie': 'session_id=bd51fa0d908da248a1be4ea0813c845a59c2a190; expires=Tue, 16 Apr 2024 03:42:08 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235328.4818459, "expires": 1713238928.4818459, "_id": "U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5", "id": "U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235326.225663, "admin_show": true, "user_show": false, "remote_port": 25200, "remote_host": "10.244.0.1" } ${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} = ['U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5 ${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.13: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 U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5 } ${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.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/scale path_url=/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/scale headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5', '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.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/scale status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:10 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668', 'Content-Length': '53', 'Set-Cookie': 'session_id=da1e44c6786fffb3b8d7391cc6ef0faee222c587; expires=Tue, 16 Apr 2024 03:42:10 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "e8687f55-e6ce-42aa-9218-b8d656dd9668" } ${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} = ['e8687f55-e6ce-42aa-9218-b8d656dd9668'] ${value} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${value} = e8687f55-e6ce-42aa-9218-b8d656dd9668 ${value} = e8687f55-e6ce-42aa-9218-b8d656dd9668 ${ID1} ${request_response.json()} $..id Get Value From JSON using JSONPath ${ID1} = ['e8687f55-e6ce-42aa-9218-b8d656dd9668'] ${scaleoutid} ${ID1[0]} Makes a variable available everywhere within the scope of the current suite. ${scaleoutid} = e8687f55-e6ce-42aa-9218-b8d656dd9668 ${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.13: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 U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:10 GMT', 'Content-Length': '995', 'Set-Cookie': 'session_id=ae755d9d21e138816053f2732cb43e0690459812; expires=Tue, 16 Apr 2024 03:42:10 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "operationState": "PROCESSING", "queuePosition": null, "stage": null, "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235330.624392, "lcmOperationType": "scale", "startTime": 1713235330.624392, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235330.6244307, "modified": 1713235330.6244307, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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} = ['e8687f55-e6ce-42aa-9218-b8d656dd9668'] ${lcmopsscaleid} ${LcmopsScale[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = e8687f55-e6ce-42aa-9218-b8d656dd9668 ${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.13: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 U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:10 GMT', 'Content-Length': '1038', 'Set-Cookie': 'session_id=6a318169e9b7975a2529ce6443f2be13260afa94; expires=Tue, 16 Apr 2024 03:42:10 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235330.624392, "lcmOperationType": "scale", "startTime": 1713235330.624392, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235330.6244307, "modified": 1713235330.7812922, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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.13: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 U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:20 GMT', 'Content-Length': '1038', 'Set-Cookie': 'session_id=8fe86f0441ad57b0d016a40d76e3220a1362f60e; expires=Tue, 16 Apr 2024 03:42:20 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235330.624392, "lcmOperationType": "scale", "startTime": 1713235330.624392, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235330.6244307, "modified": 1713235330.7812922, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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.13: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 U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:30 GMT', 'Content-Length': '1038', 'Set-Cookie': 'session_id=85f03992b2681257b9b5e5d88ad8bf63b3833dab; expires=Tue, 16 Apr 2024 03:42:30 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "operationState": "PROCESSING", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235330.624392, "lcmOperationType": "scale", "startTime": 1713235330.624392, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235330.6244307, "modified": 1713235330.7812922, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": " VIM: (progress 0/1)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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.13: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 U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5 } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer U80e9iwGNPlqRMVHzS0MVS3T9YrMk0Q5'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:41 GMT', 'Content-Length': '1021', 'Set-Cookie': 'session_id=807518a9e4d3ff321945db4b07ff0530611ea114; expires=Tue, 16 Apr 2024 03:42:41 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "id": "e8687f55-e6ce-42aa-9218-b8d656dd9668", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235360.8456368, "lcmOperationType": "scale", "startTime": 1713235330.624392, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235330.6244307, "modified": 1713235360.8456378, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/e8687f55-e6ce-42aa-9218-b8d656dd9668", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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_osm_rest 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:41 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG', 'Content-Length': '656', 'Set-Cookie': 'session_id=9b10b4ec21125667f22ed56b771af3dee1d9a5ae; expires=Tue, 16 Apr 2024 03:42:41 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235361.1276288, "expires": 1713238961.1276288, "_id": "KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG", "id": "KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235328.4818459, "admin_show": true, "user_show": false, "remote_port": 34017, "remote_host": "10.244.0.1" } ${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} = ['KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG ${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.13: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 KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG } ${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.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/terminate path_url=/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/terminate headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG', 'Content-Length': '66'} body=b'{"terminationType": "GRACEFUL", "gracefulTerminationTimeout": "5"}' POST Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14/terminate status=202, reason=Accepted headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:43 GMT', 'Location': '/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6', 'Content-Length': '53', 'Set-Cookie': 'session_id=7a32e0829753714a251abc98d9ef94ea32213c89; expires=Tue, 16 Apr 2024 03:42:43 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6" } ${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} = ['8a05546f-e2b4-4999-8fb2-e50f91bc1ed6'] ${terminateid} ${id[0]} Makes a variable available everywhere within the scope of the current suite. ${terminateid} = 8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 ${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.13: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 KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:43 GMT', 'Content-Length': '1087', 'Set-Cookie': 'session_id=314a6ea9643979d0aa8e4a5582f7e10721fc3f7b; expires=Tue, 16 Apr 2024 03:42:43 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235363.217421, "lcmOperationType": "terminate", "startTime": 1713235363.217421, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235363.217456, "modified": 1713235363.3410163, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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} = ['8a05546f-e2b4-4999-8fb2-e50f91bc1ed6'] ${lcmopsscaleid} ${LcmopsTerminate[0]} Makes a variable available everywhere within the scope of the current suite. ${lcmopsscaleid} = 8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 ${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.13: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 KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:43 GMT', 'Content-Length': '1087', 'Set-Cookie': 'session_id=b321f67dc3b93380b5aaa2223c6c18d86889bb2c; expires=Tue, 16 Apr 2024 03:42:43 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235363.217421, "lcmOperationType": "terminate", "startTime": 1713235363.217421, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235363.217456, "modified": 1713235363.3410163, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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.13: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 KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:42:53 GMT', 'Content-Length': '1087', 'Set-Cookie': 'session_id=8a5ddbbdf16f6721b9b625bfd12a6dde4cec2ba5; expires=Tue, 16 Apr 2024 03:42:53 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "operationState": "PROCESSING", "queuePosition": 0, "stage": "Stage 3/3 delete all.", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235363.217421, "lcmOperationType": "terminate", "startTime": 1713235363.217421, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235363.217456, "modified": 1713235363.3410163, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Stage 3/3 delete all. 0/1. VIM: (progress 0/5)", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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.13: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 KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG } ${request_response} Session ${uri} headers=${Headers} Sends a GET request on a previously created HTTP Session. GET Request : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 path_url=/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer KEeKCghyEQuAxwqyvk8spE8UpHDNWPlG'} body=None GET Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6 status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:43:03 GMT', 'Content-Length': '1024', 'Set-Cookie': 'session_id=e7c7edac88d1ddeebd29ee58a4373082737f8ff5; expires=Tue, 16 Apr 2024 03:43:03 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "_id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "id": "8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "operationState": "COMPLETED", "queuePosition": 0, "stage": "", "errorMessage": null, "detailedStatus": null, "statusEnteredTime": 1713235378.4254556, "lcmOperationType": "terminate", "startTime": 1713235363.217421, "isAutomaticInvocation": false, "isCancelPending": false, "_admin": { "created": 1713235363.217456, "modified": 1713235378.4254565, "projects_read": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "projects_write": [ "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c" ], "worker": "45009550332e" }, "detailed-status": "Done", "_links": { "self": "/osm/vnflcm/v1/vnf_lcm_op_occs/8a05546f-e2b4-4999-8fb2-e50f91bc1ed6", "vnfInstance": "/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14" }, "vnfInstanceId": "fd9cfc15-6b89-4340-8774-31268275cb14" } ${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_osm_rest 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.13 ${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.13' 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.13:9999 osmhit ${HOST} disable_warnings=1 Create Session: create a HTTP session to a server Creating Session using : alias=osmhit, url=https://172.21.249.13: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.13:9999/osm/admin/v1/tokens path_url=/osm/admin/v1/tokens headers={'User-Agent': 'python-requests/2.31.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.13:9999/osm/admin/v1/tokens status=200, reason=OK headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:43:03 GMT', 'Www-Authenticate': 'Bearer realm="Needed a token or Authorization http header"', 'Location': '/osm/admin/v1/tokens/QeQCwbbaeevVs7c6PdKngeAYafYqItRC', 'Content-Length': '656', 'Set-Cookie': 'session_id=5479a4557310545fd902c5d1ec3db78326c396fc; expires=Tue, 16 Apr 2024 03:43:03 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body={ "issued_at": 1713235383.6280308, "expires": 1713238983.6280308, "_id": "QeQCwbbaeevVs7c6PdKngeAYafYqItRC", "id": "QeQCwbbaeevVs7c6PdKngeAYafYqItRC", "project_id": "9e891ff4-bcc8-4ede-a8dc-7af1b37ff99c", "project_name": "admin", "username": "admin", "user_id": "d2cefff3-75d2-41b0-aeba-cfa1718b819b", "admin": true, "roles": [ { "name": "system_admin", "id": "5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3" } ], "login_count": 0, "last_login": 1713235361.1276288, "admin_show": true, "user_show": false, "remote_port": 28182, "remote_host": "10.244.0.1" } ${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} = ['QeQCwbbaeevVs7c6PdKngeAYafYqItRC', '5d9ff6f9-aa46-4035-95ce-96e7fcdfc6d3'] ${access_token} ${access_token[0]} Makes a variable available everywhere within the scope of the current test. ${access_token} = QeQCwbbaeevVs7c6PdKngeAYafYqItRC ${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.13: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 QeQCwbbaeevVs7c6PdKngeAYafYqItRC } ${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.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14 path_url=/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14 headers={'User-Agent': 'python-requests/2.31.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'Authorization': 'Bearer QeQCwbbaeevVs7c6PdKngeAYafYqItRC', 'Content-Length': '0'} body=None DELETE Response : url=https://172.21.249.13:9999/osm/vnflcm/v1/vnf_instances/fd9cfc15-6b89-4340-8774-31268275cb14 status=204, reason=No Content headers={'Content-Type': 'application/json; charset=utf-8', 'Server': 'CherryPy/18.8.0', 'Date': 'Tue, 16 Apr 2024 02:43:05 GMT', 'Set-Cookie': 'session_id=5376a7447e49f62a4a3165d6c435bbf943f96f79; expires=Tue, 16 Apr 2024 03:43:05 GMT; HttpOnly; Max-Age=3600; Path=/; Secure'} body=None ${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_osm_rest 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_osm_rest 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 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.Basic 26-Secure Helm Execution Environment Testsuite.Basic 27-Update Helm Ee In Running Vnf Instance Testsuite.Basic 28-Keep Persistent Volumes Testsuite.Basic 29-Vnf Ipv6 Profile Testsuite.Basic 30-Ns Ipv6 Profile Testsuite.Basic 31-Multivdu Volume Multiattach 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